What Email API works best with WeWeb

Hi,

I am using supabase as my database and for authentication for my webapp. I would like to send users a welcome email once they sign up. I am having issues with calling the sendgrid api from weweb but I am able to call the same API from postman.

My current setup, I am using a rest API to post a message to sendgrid’s API :

curl --request POST \
  --url https://api.sendgrid.com/v3/mail/send \
  --header "Authorization: Bearer $SENDGRID_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{"personalizations": [{"to": [{"email": "test@example.com"}]}],"from": {"email": "test@example.com"},"subject": "Sending with SendGrid is Fun","content": [{"type": "text/plain", "value": "and easy to do anywhere, even with cURL"}]}'

Any recommendations on how to implement email functionality from Weweb? I open to other Email API providers that work well with WeWeb.

Thank you

I don’t know supabase, but I’d guess the workflow should be similar to Xano. Have the API call done through Supabase and not WeWeb.

I use Postmark as i found it does a better job not getting stuck in spam filters. Sendgrid has an issue with Yahoo emails. Only downside of Postmark is they don’t have a visual editor for HTML email templates. For transactional emails it’s fine for me.

You shouldn’t be calling an email api from WeWeb at all, but rather use a servers as a middle layer. Unless you wanna get abused badly. Use the http extension in Supabase or an Edge Function.

I use Brevo which is actually the previous SendGrid or Sendblue :thinking:. I just use a regular API from Weweb or from XANO in my case. I use the XANO http request, and just like Broberto said, you can do the same in Supabase.

If you setup an STMP, AWS SES is quite cheap, also ElasticEmail is not bad. These are my top 3. I used to have mailsender, but by some reason they keep blocking some of my sites saying it was not approved (Although all legit businesses lol), so I gave up on them, Brevo offers a good free threshold.

Thank you all, I decided to use buildship for sending emails. They have an integration with Sendgrid.

1 Like

Resend has a couple of tutorials for Supabase integration

I have tried them ALL. Hand down - resend.com is the BEST for many, many reasons.

Loops.so is also an amazing product - but Resend takes the crown across the board. Any startup NOT using Resend is missing out.

1 Like

Thank you for sharing. I looked into resend but couldn’t find a no code option to generate the email content. Any suggestions on how I could create email body using no code for resend?

so … they have that rolling out now - I think it’s waitlist only - it will blow your mind - - https://new.email/

Meantime - there’s a million tools from free to paid such as: