Forum Academy Marketplace Showcase Pricing Features

Helpful tip for authenticating Sendgrid *without* an admin email

Currently, SendGrid integration with your personal domain linked to your Bubble app assumes you have an “[email protected]” address. If you try to verify SendGrid through Bubble, you will get an error saying no [email protected] email was found. If you go to SendGrid and try to add an [email protected] email, you will fail - because SendGrid will send an email confirmation to the [email protected] email, which you cannot receive, and thus, cannot hit the confirm link. But there’s a workaround. You do not need to buy or sign up for an [email protected] email.

Instead, you can authenticate using another way: by authenticating ownership of yourdomain.com

  1. Go to SendGrid, and select domain authentication instead of single user authentication. It will give you three CNAME entries to add to your DNS records. You will do this with your website host (GoDaddy, NameCheap, etc).

  2. If it is with GoDaddy, do not include your domain name portion in the CNAME (even though SendGrid will tell you to do so). In other words, if SendGrid tells you to enter s1.xyxzyzyz.yourdomain.com, only enter the s1.xyxyxyxyx part in your DNS records.

  3. You will have to wait for some time so that the DNS record propagates.

  4. Then go back to SendGrid and hit verify. SendGrid will now say that your entire domain is authenticated.

  5. Because the entire domain is now authenticated, you can now enter [email protected] in the Single sender entry on SendGrid. You will not actually need to have an [email protected] email, and SendGrid now will not require any email confirmation - because your domain has been authenticated. So SendGrid will merrily accept [email protected] (even though you do not actually have that email).

  6. Copy the API key from SendGrid.

  7. Now go back to Bubble, domain/email settings, and enter the SendGrid API. Voila!

16 Likes

DNS authent is the way to go. And I also can vouch for the importance of #2 ha. Took me 2 days to figure that out, it may be the case on more than just GoDaddy.

1 Like

Some old forum posts seem to show a setting to change the email address an app sends from? Was that removed?

Edit: oh, it seems the setting only comes up after the key is verified. This should be documented…

1 Like

Yes, that’s exactly the issue.

Thank you so much for the GoDaddy tip about removing your domain name. I spent nearly two weeks back & forth between GoDaddy pointing the finger at sendgrid and vice versa. Telling me to wait 48 hours for things to propagate etc etc.
3 minutes after reading your post & I’m finally done. Verified in Sendgrid + sending emails from Bubble!

1 Like

Hi Mike,

I was able to get verified on Sendgrid, but emails are still not sending from bubble. Is there anywhere else I should be inputting the API key aside from the “domain/email” tab? Should it be placed in the SendGrid plugin and the Bubble API plugin as well?

If you want to use the embedded native email through SendGrid, you do not need to add the keys anywhere else. What message are you getting when you send the email? What workflow action are you using to send the email? What is the domain name of the recipient email (if yahoo.com, live.com, outlook.com, hotmail.com, it likely won’t get thru if you use SendGrid).

I’ve tried to change the workflow to the regular bubble workflow “Send email” but it still will not send emails. Do I need to delete everything related to SendGrid in order for the “bubble built in email workflow” to work?

Tried the Tips & its super cool. Applicable to namecheap.com

1 Like

You made my day at least 5 times in the last 9 months.
I keep on coming back here to this post to see how this infuriating thing has to be done.

Thanks man

2 Likes

worked perfectly - thank you!

and yes, not sure why sendgrid asks you to put the domain name portion in the CNAME - that’s not how CNAME works!

1 Like

How long is " some time " ??

& what did you mean .xyxzyzyz. do i replace that bit with something ??

You are a lifesaver! This was so frustrating! Thank you!

I am going to email Sendgrid and tell them to remove the domain portion in the CNAME in their instructions. Clearly this is wasting a lot of people’s time.

1 Like