Skip to content

Activate email exchange feature

fan-droide edited this page Oct 24, 2025 · 10 revisions

Email exchange is used for login (by receiving an verification code) or sending invitations for new collaborators.

1.- Edit config.py with the following information:

EMAIL_MODULE_ACTIVE = True # default is False

# For Mail settings go to Email provider and get the details:
MAIL_SERVER = ""
MAIL_PORT = 0
MAIL_USERNAME = ""

2.- Edit .env with the email server password:

EMAIL_PASSWD=*****

Example using Gmail

1.- Turn on 2-Step Verification for your Google account.

2.- Create an App Password (choose a custom name → e.g., “Flask”). You’ll get a 16-character password.

https://myaccount.google.com/apppasswords

Screenshot 2025-10-24 at 17 14 53

3.- Edit config.py with the following details:

MAIL_SERVER = "smtp.gmail.com"
MAIL_PORT = 587
MAIL_USERNAME = youremail@gmail.com

4.- Edit .env with the password generated in the step 2.

EMAIL_PASSWD=****************

For OVH: https://www.ovh.com/manager/#/web/email_domain/

Clone this wiki locally