# email create and send emails from templates ## template - `mjml` to create emails - `tera` to render emails with parameters ## send - `lettre` to send the emails with smtp ## rocket config - `from`: Sender of emails, usually name and email address - `transport`: Security method to send the mails. `unencrypted` or `tls` or `starttls` - `host`: Where to send smtp traffic - `port`: *optional*: Used when `transport` is `unencrypted` - `username` and `password`: *optional*: Used when `transport` is `tls` or `starttls` ### `Rocket.toml` ```toml [default.email] from = "ezidam " transport = "unencrypted" host = "localhost" port = 1025 ``` ### env ```dotenv ROCKET_EMAIL='{from="ezidam ",transport="unencrypted",host="localhost",port=1025}' ```