Version 1.15.1 · Updated 13 Nov 2026
Route your Voxel site’s email through Mailgun, with your dynamic tags mapped straight into template variables.
In every Pro plan. One switch on the Hub’s Add-ons screen.
Overview
Mailgun’s HTTP API is faster and more dependable than PHP’s wp_mail, and it gives you real templates. This add-on routes your Voxel site’s transactional email through it, and maps your Voxel dynamic tags straight into named Mailgun template variables.
Set your API key, sending domain, region (US or EU), and From name and email on one Hub settings page. Then build mappings that turn Voxel tags like @post(title) or @order(pricing.total) into Handlebars variables your templates can read. You do not have to know the tags: each row picks a post type and opens Voxel’s own dynamic-data editor, the same one the theme uses, so the tag is chosen from a searchable tree rather than typed from memory. Each mapping is typed (string, number, boolean, JSON, or a condition), so values arrive in the right shape for {{#if}}, {{#each}} and friends.
Fields that hold several values get their own types, because no single Voxel tag can represent them: a tag renders the first item, and .list() renders all of them squashed into one string. Point the Attachments type at an upload field and you get one object per file, with the URL, the original filename, the mime type, an IS_IMAGE flag and the dimensions already worked out, ready for {{#each}}. Point the repeat-per-item type at any repeatable field and you get one copy of your own JSON object per row. Attachment URLs can stay as the plain uploads path, or be served through an unguessable link that hides where the file lives and optionally stops working after a set time.
The Tools tab resolves every mapping against a real post and shows what would reach Mailgun, with the Handlebars to copy for each variable. It is the fastest way to find the one arriving empty. Pick the event you are mapping for and tags that only exist on that event resolve too.
Event triggers wire a Voxel app-event to a Mailgun template. When a matching event fires, the add-on resolves the mappings from that event’s own context and sends the template. Each trigger has an Enabled toggle: flip it on and the event sends only the Mailgun template while Voxel’s own email for that event is suppressed, so nobody gets two. Leave it off and Voxel sends as usual. If a Mailgun send fails, Voxel’s default email goes out as a fallback, so the recipient is never dropped.
If you would rather not wire an event at a time, switch on the global route: one Mailgun template frames everything the site sends, including the email WordPress and other plugins produce, and nothing goes out over SMTP unless Mailgun refuses it.
There’s an Activity Log with per-event toggles for trigger, send and general, so a wrong API key or a bad template name shows up instead of failing in silence. You can also send email programmatically with CodictsVoxelMailgunner_mailer::send().
api.mailgun.net) or EU (api.eu.mailgun.net) endpoint.t:variables, with the legacy h:X-Mailgun-Variables header available as a setting for sites whose Routes match on it.list (an array of strings), attachments (one object per file, with ID, URL, NAME, TITLE, MIME, EXTENSION, IS_IMAGE, SIZE, SIZE_HUMAN, WIDTH, HEIGHT and THUMBNAIL_URL), and repeat-per-item JSON (your own object template, built once per row, with @loop(number) for the position)./attachments/...) is configurable.WP_DEBUG_LOG is on.CodictsVoxelMailgunner_mailer::send(), with optional subject, reply-to, direct variable overrides, and up to three Mailgun tags.codicts_mailgunner_request_body, codicts_mailgunner_after_send, and codicts_mailgunner_resolve_tag.Changelog
@post(price).number_format(2). It now reads tags the same way the emails do. A modifier written inside the brackets, which Voxel can’t read, is now flagged instead of passed.@post(photos.url)), a term’s name (@post(size.label)) or a linked post’s field, is no longer called empty just because no post has that value yet. The check now uses the same list of tags as the tag picker, so a mapping is only flagged when the field or property really doesn’t exist.
Voxel Mailgunner
In every Pro plan. One switch on the Hub’s Add-ons screen.
Explore
By Codicts
WordPress gives a custom post type one URL shape and then stops taking questions. This one builds the URL you actually wanted, taxonomy folders and all.
By Codicts
Turn the rows of a Voxel repeater field into real posts, and keep them in sync as those rows change.
By Codicts
Move members from one WordPress site to another without anyone resetting a password, getting a second account, or losing what they already have.
By Codicts
A table of contents that search engines can read and your readers can use, added to your posts automatically.
There are no results matching your search
Can we use analytics cookies?
Google Analytics shows us how people use the site, so we can improve it. It only runs if you allow it. Privacy Policy