Expand description
Email service module for handling email-related functionality.
This module provides functionality for sending various types of emails using SMTP,
specifically configured for Gmail. It uses the lettre
crate for email handling
and supports both plain text and HTML email formats.
§Environment Variables Required
GMAIL_USERNAME
: Gmail address to send emails fromGMAIL_APP_PASSWORD
: Gmail app password for authenticationFRONTEND_URL
: Base URL of the frontend applicationEMAIL_FROM_NAME
: Display name for the sender
Structs§
- Email
Service - Service for handling email-related operations.