lettermint / lettermint-magento2
Lettermint Email Integration for Magento 2
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: >=8.2
- lettermint/lettermint-php: ^1.0
- magento/framework: >=103.0
README
Integrate Lettermint email service with your Magento 2 store for reliable transactional and marketing email delivery.
Requirements
- Magento 2.3.0 or higher
- PHP 8.1 or higher
- Composer
Installation
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
Configuration
- Navigate to Stores → Configuration → Lettermint → Configuration
- Enable the module
- Enter your Lettermint API token
- Configure sender information and route IDs
- Save configuration
Configuration Options
- 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
Features
- Transactional Emails: Order confirmations, password resets, etc. → Configurable route (default:
outgoing
) - Newsletter Emails: Marketing campaigns, newsletters → Configurable route (default:
broadcast
)
Email Flow
Transactional Emails
Magento Email System → TransportPlugin → Lettermint API (outgoing route)
Newsletter Emails
Magento Newsletter → newsletter_send_after event → NewsletterSendObserver → Lettermint API (broadcast route)
Security
- 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
License
The MIT License (MIT). Please see License File for more information.