Skip to main content

Sending Authentication Emails & SMS Messages

Coming Soon

This recipe is being developed and will cover:

  • Email verification workflows
  • Password reset emails
  • Two-factor authentication (2FA) via SMS
  • Magic link authentication
  • Configuring SMTP providers (SendGrid, AWS SES, etc.)
  • SMS providers (Twilio, Azure Communication Services)
  • Email templates and customization
  • Delivery tracking and retry logic

Planned Topics

Email Workflows

  • Account Registration - Welcome emails with verification links
  • Email Verification - Confirm email ownership
  • Password Reset - Secure password reset tokens
  • Magic Links - Passwordless authentication
  • Account Activity Alerts - Login notifications, security alerts

SMS/Text Messaging

  • Two-Factor Authentication (2FA) - SMS-based verification codes
  • Phone Number Verification - Confirm phone ownership
  • Account Recovery - SMS-based password reset
  • Security Alerts - Critical account activity notifications

Provider Integration

  • SMTP Providers

    • SendGrid configuration
    • AWS SES setup
    • Azure Communication Services
    • Custom SMTP servers
  • SMS Providers

    • Twilio integration
    • Azure Communication Services SMS
    • AWS SNS
    • Alternative providers

Email Templates

  • HTML email templates with branding
  • Plain text fallbacks
  • Multilingual support
  • Dynamic content injection
  • Testing email rendering

Security Considerations

  • Token expiration and rotation
  • Rate limiting (prevent abuse)
  • Email/SMS delivery verification
  • Bounce handling
  • Unsubscribe management

Temporary Workaround

Until this recipe is complete, refer to:

Contribute

If you've implemented email/SMS workflows in your PearDrop project and would like to contribute examples, please reach out to the framework team.


Status: 🚧 In Development
Estimated Completion: TBD
Priority: High