Module email

Source
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 from
  • GMAIL_APP_PASSWORD: Gmail app password for authentication
  • FRONTEND_URL: Base URL of the frontend application
  • EMAIL_FROM_NAME: Display name for the sender

Structs§

EmailService
Service for handling email-related operations.