Integrate Lettermint email service with your Magento 2 store for reliable transactional and marketing email delivery.
- Magento 2.3.0 or higher
- PHP 8.1 or higher
- Composer
Install the module via Composer:
composer require lettermint/lettermint-magento2
php bin/magento module:enable Lettermint_Email
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush- Navigate to Stores → Configuration → Lettermint → Configuration
- Enable the module
- Enter your Lettermint API token
- Configure sender information and route IDs
- Save configuration
- API Token: Your Lettermint service API token (encrypted storage)
- Transactional Route: Route ID for transactional emails (default:
outgoing) - Newsletter Route: Route ID for newsletter/marketing emails (default:
broadcast) - Sender Configuration: Default sender name and email address
- Transactional Emails: Order confirmations, password resets, etc. → Configurable route (default:
outgoing) - Newsletter Emails: Marketing campaigns, newsletters → Configurable route (default:
broadcast)
Magento Email System → TransportPlugin → Lettermint API (outgoing route)
Magento Newsletter → newsletter_send_after event → NewsletterSendObserver → Lettermint API (broadcast route)
- API tokens are encrypted in Magento's configuration storage
- Input validation and sanitization
- Secure API communication via HTTPS
- No sensitive data logged in plain text
The MIT License (MIT). Please see License File for more information.