Configure send to email when State on alerts is TRIGGER

Hi All,
I installed Redash on Centos7. Please guide me how to configure mail.
Now i want that A notice will be sent to my email (gmail) when it is TRIGGER on Redash.
I dont know where to start? Please help me!

As Redash is a community effort, there is currently no tutorial for configuring email on Redash. That said, Redash uses Flask-mail to handle all its email systems. Flask-mail is configured entirely through environment variables. In your Redash deployment, Flask-mail's environment variables are prefixed with REDASH_, for example:

MAIL_SERVER -> REDASH_MAIL_SERVER
MAIL_PORT -> REDASH_MAIL_PORT
MAIL_USE_TLS -> REDASH_MAIL_USE_TLS
MAIL_USE_SSL -> REDASH_MAIL_USE_SSL
MAIL_DEBUG -> REDASH_MAIL_DEBUG
MAIL_USERNAME -> REDASH_MAIL_USERNAME
MAIL_PASSWORD -> REDASH_MAIL_PASSWORD
MAIL_DEFAULT_SENDER -> REDASH_MAIL_DEFAULT_SENDER
MAIL_MAX_EMAILS -> REDASH_MAIL_MAX_EMAILS
MAIL_SUPPRESS_SEND -> REDASH_MAIL_SUPPRESS_SEND
MAIL_ASCII_ATTACHMENTS -> REDASH_MAIL_ASCII_ATTACHMENTS

Different SMTP mailing systems have different requirements, but the settings are pretty common. For instance your REDASH_MAIL_PORT may vary depending on the value of REDASH_MAIL_USE_TLS or REDASH_MAIL_USE_SSL.

If you run into issues please post the here on the forum. Hopefully any new learnings can be incorporated into a mail configuration document in the future.

thanks for your support.
I configure in env and docker-compose.yml and now it is working well.