Hope you are doing well,
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 Trail 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, respective team will provide exclusion for your tenant.
Hope this helps.
Please refer following thread for more information
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".