SwiftTrap for Mailtrap replaces the default WordPress wp_mail() with the Mailtrap Send API.
Features:
No SDK required — uses the WordPress HTTP API (wp_remote_post) for zero external dependencies.
Extensible via filters:
swifttrap_mailtrap_email_category — override email categoryswifttrap_mailtrap_use_bulk_stream — control bulk stream routingswifttrap_mailtrap_template — send via Mailtrap template (template_uuid)swifttrap_mailtrap_custom_variables — attach tracking metadata to emails