Add SMTP support #12

Open
opened 2026-09-10 17:58:00 +00:00 by 3wordchant · 1 comment
Owner

Looks like relatively cursed config: https://support.getgrist.com/self-managed/#how-do-i-set-up-email-notifications

Grist uses Nodemailer for this purpose. There are two environment variables that need to be configured to enable it:

GRIST_NODEMAILER_CONFIG: This is a JSON configuration passed verbatim to Nodemailer’s createTransport method. Refer to the Nodemailer documentation for details on what to provide here. Note that this variable should contain the JSON itself, not a path to a JSON file.

GRIST_NODEMAILER_SENDER: This is another JSON configuration string for setting the From: field of emails sent by Grist. It takes the following form:

{"name": "Default Name Of Sender", "email": "sender.email@example.com"}

Looks like relatively cursed config: https://support.getgrist.com/self-managed/#how-do-i-set-up-email-notifications > Grist uses [Nodemailer](https://nodemailer.com/) for this purpose. There are two environment variables that need to be configured to enable it: > > `GRIST_NODEMAILER_CONFIG`: This is a JSON configuration passed verbatim to Nodemailer’s createTransport method. Refer to [the Nodemailer documentation](https://nodemailer.com/usage#create-a-transporter) for details on what to provide here. Note that this variable should contain the JSON itself, not a path to a JSON file. > > `GRIST_NODEMAILER_SENDER`: This is another JSON configuration string for setting the From: field of emails sent by Grist. It takes the following form: > > ` {"name": "Default Name Of Sender", "email": "sender.email@example.com"}`
Owner

Also, Email Notifications are an Enterprise feature. You would need to add the option to enable that as well.

Also, Email Notifications are an Enterprise feature. You would need to add the option to enable that as well.
Sign in to join this conversation.
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/grist#12