Email routing to Gmail and alias
Hello!
I just created my new email address hello@mydomain.com to forward emails to my gmail account.
Then using another account, I sent an email to the hello account, and it was received to the gmail account, but once the email is answered, it appears the gmail account, can it be overwritten somehow to show the hello account?
Many thanks
22 Replies
Support AI
According to the documentation, when using Cloudflare's Email Routing feature, the "From" address of the forwarded email will be the original sender's address, not the custom address you set up (in this case, hello@mydomain.com).
Unfortunately, it's not possible to overwrite the "From" address to show the hello account when responding to the email. The documentation doesn't provide any information on how to achieve this.
However, you can consider using a third-party email service that supports aliasing or masking the "From" address. Some email services, like Gmail, allow you to set up custom "From" addresses or aliases, which might help you achieve the desired behavior.
Please note that this is a limitation of Cloudflare's Email Routing feature, and it's not possible to change this behavior within Cloudflare.
Source: https://developers.cloudflare.com/email-routing/setup/email-routing-addresses/
Sources
Feedback
Feedback has been submitted! Thank you :)
This is an AI generated response, it may not be 100% accurate. Please validate the output. You can ask followups by replying to this message or mentioning me.
Email routing is inbound only. You'll need another service for the outbound leg, like SendGrid or (there are a few others)
many thanks @rdm ! is there any free service to do it ?
Generally, I think so. I assume it's a KYC (know your customer) thing to prevent spam.
any example of provider? little new on this
🙂 For sure, give me a second, and I'll google it. The name is on the tip of my tongue lol. I personally use AWS SES
Mailgun is the one I see discussed here. (The one I couldn't think of).
oh mailgun seems to be free at lest to 100 emails, more than enought for me right now
Oh nice. I've never looked.
AWS SES seems very cheap as I can see right? how much do you pay if you can say it
Oh, it's just in my personal account. lol Let me look

Sorry to brag. I'm a big spender. 😉
lol hahah but do you send emails, right? to understand it XD
I do, just such a low volume on my personal account. I use it to test things.. and I have a few things in my home lab.. that sent 15 email last month lol.
But when you verify your domain and add the records. Then when you send outbound, the entire email header will reference your domain.. and not gmail or your gmail account.
i see, gonna try it and see how it goes
https://dev.to/pierre/gmail-with-cloudflare-email-routing-4413
There are ways to "make it work" without any external services (That's just one of I'm sure many articles out there). But, when you do that type of workaround. The email header will always include your sending gmail account details. And depending on the recieving end it could end up in spam
DEV Community
How to Send Emails Using Gmail SMTP with Cloudflare Email Routing?
In this dev post, I will describe here the steps you can use for sending emails through Gmail SMTP...
i followed that and it works but...as you say...

🙂 Yea. I just wanted to mention it. The email header and the proper outbound email leg is what most people really want.
yes i see my gmail account on the header (F xD)
🙂 Yea, and once you do the outbound leg with like Mailgun.. when you set it up in gmail.. then the headers will match the domain and none of the recieving mailboxes will know about your gmail account.
Good luck!
many thanks buddy for all the help, amazing community ❤️
Happy to help.