How to correctly set up emails for a report feature in my app?
I have a node backend that sends emails using credentials for vikitorek.app@gmail.com
User can click report button and I need to create an email that is being sent to support@vikitorek.com -> I have set up email routing from support@vikitorek.com to vikitorek.app@gmail.com but when the backend sends email using vikitorek.app@gmail.com to esentially itself (vikitorek.app@gmail.com) cloudflare is sending me only warnings that google is not showing such email and that I'm supposed to send from a different account.
Do I really need a separate no-reply.vikitorek@gmail.com account to send emails from? Or is there some standard setup for an app to create a support email to itself?
2 Replies
In the end, I have implemented reporting into database instead of email to avoid the hustle
You could use Email Workers to send emails: https://developers.cloudflare.com/email-routing/email-workers/send-email-workers/
Cloudflare Docs
Send emails from Workers
You can send an email about your Worker's activity from your Worker to an email address verified on Email Routing. This is useful for when you want to know about certain types of events being triggered, for example.