Skip to content

2. Setting up the emails

Tony edited this page Feb 6, 2024 · 6 revisions

Setting up the emails

If you have mail or sendmail installed, you can use those, alternatively as of now you can use Sendgrid or Resend (suggestions and PRs for other alternatives are welcome!).

For an always up-to-date view of all supported email providers, check the docs.

Resend

Resend offers a pretty generous free plan with paid options available.

What Do I Need?

Just create an account and get your API key.

Sendgrid

SendGrid features a free plan which allows you to send "100 emails/day forever".

While this does work for me, if you would like a different way of sending emails, do let me know through an issue. I made the code in such a way that implementing a new email backend should be trivial, take a look here.

What Do I Need?

First, you need to create a SendGrid account. This might take some time. I exchanged a few emails with SendGrid's customer support for two or three days before getting access to my account. You will most likely be asked some basic questions about some personal information and the purpose of your SendGrid account.

You will need to add an email account, I chose the Single Sender Verification option and inputted my Gmail as both the from and to address. This step here might cause some problems as the emails sent are considered spam by Gmail so make sure to check your spam folder and click Mark as not spam to avoid issues. If you are using a more security-oriented email provider such as Proton Mail you might not even see them in your spam folder (at least I did not) in which case I am not sure how to help with that. If you have any ideas please do let me know!

After that is done you want to head to the API keys page and generate an API key.

Clone this wiki locally