Implement Asynchronous Email Sending Service #21

Closed
opened 2025-10-17 22:47:09 +00:00 by Rodrigo2003-PT · 1 comment
Rodrigo2003-PT commented 2025-10-17 22:47:09 +00:00 (Migrated from github.com)

Send emails without blocking the main API request thread.

Tasks:

  • Integrate an email sending library (e.g., Flask-Mail) or an API-based service (e.g., SendGrid, Mailgun).
  • Configure credentials securely via environment variables.
  • Create an asynchronous task (e.g., using Celery or a simple thread pool) for sending emails.
  • Create a utility function send_password_reset_email(user_email, reset_link).
  • Create an HTML template for the password reset email.
Send emails without blocking the main API request thread. ### Tasks: - Integrate an email sending library (e.g., `Flask-Mail`) or an API-based service (e.g., SendGrid, Mailgun). - Configure credentials securely via environment variables. - Create an asynchronous task (e.g., using Celery or a simple thread pool) for sending emails. - Create a utility function `send_password_reset_email(user_email, reset_link)`. - Create an HTML template for the password reset email.
Cordeir01 commented 2025-10-23 15:41:46 +00:00 (Migrated from github.com)

No need for password reset service because the credentials management will be centralized.

No need for password reset service because the credentials management will be centralized.
Sign in to join this conversation.
No description provided.