Hello @Lukasz ,
Could you please check your outlook sent items folder and confirm if you are able to see the sent mail? If yes, please check your inbox for any email delivery failed mail initiated by smtp.
If you are getting an "Email Delivery Failed" error mail, generally these issues occur while using trail tenant to perform this send email activity using Graph API.
This error occurs when sending email from known, low reputation IP addresses that are typically used by new customers on Trial tenants.
To fix this issue your Tenant needs to be added to a sending exclusion for 60 days to allow them to use blocked IPs whilst they still have a new/trial license.
Please raise a case with MS Support team from your tenant where you are facing issue and respective team will provide exclusion for your tenant.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".