CTRL + K
Web App
Configure Email

Configuring Email

If appropriately configured, Grai can send emails for a variety of purposes including reseting passwords and inviting new users.

ℹī¸

Emails are setup for you with Grai cloud, making it easy to get started.

Default Configuration

The Web App depends on the Django framework and works with a variety of email backends. You can find additional information about these configuration settings in the core Django documentation, see https://docs.djangoproject.com/en/4.1/topics/email/ (opens in a new tab).

You will need to set the following environment variables:

VariableValue
EMAIL_BACKENDdjango.core.mail.backends.console.EmailBackend
EMAIL_FROMEmail address your emails will arrive from

AWS SES Email

If you would like to use AWS's SES service to provision your emails you'll need to configure a few additional environment variables.

ℹī¸
VariableValue
AWS_ACCESS_KEY_IDYour AWS access key id
AWS_SECRET_ACCESS_KEYYour AWS secret access key
AWS_SES_REGION_NAMEThe AWS region for SES
AWS_SES_REGION_ENDPOINTThe AWS SES region endpoint