/
/
Voxel Mailgunner
Pro
Utility

Voxel Mailgunner

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.

codicts-voxel-mailgunner cover image

Overview

What it does

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().

What you get

  • Send Mailgun template emails through the Messages API, on the US (api.mailgun.net) or EU (api.eu.mailgun.net) endpoint.
  • Map Voxel dynamic tags to named Mailgun template variables, sent as t:variables, with the legacy h:X-Mailgun-Variables header available as a setting for sites whose Routes match on it.
  • Per-mapping typing: string, number, boolean, JSON (decoded to an array or object), or a condition that compares the tag against a value and sends a real true or false.
  • List types for fields holding more than one value: 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).
  • Attachment links can be left as the uploads URL, served through an unguessable proxied URL that keeps the uploads path private, or proxied and time-limited. SVG and HTML always download rather than render, and the prefix (/attachments/...) is configurable.
  • A dynamic-tag field on every mapping row: choose the post type, then pick the tag from Voxel’s own editor, with its search, its groups and its modifiers. Author, user, site and order tags are offered whatever post type is chosen, because none of them depend on one.
  • A coverage check that marks any mapping whose tag the event behind a trigger does not provide, which is the usual reason a variable arrives empty.
  • A global route that sends every email on the site through one Mailgun template, with the body, subject, recipient and site branding as variables, falling back to normal delivery if Mailgun refuses it.
  • The global route’s variables can go out under the names your existing templates already use, so a template written for another system works without edits.
  • Mapping Translator on the Tools tab: resolve every mapping against a real post and event, see the exact values with item counts, and copy the Handlebars for each one; or send a real test to confirm Mailgun recognises the template name.
  • The Activity Log records the resolved variables for every send and names the ones that came back empty.
  • Voxel event triggers that fire a Mailgun template automatically when a matching app-event email is sent.
  • Templates picked from a searchable list of your Mailgun account’s own templates, fetched with the saved key. A template one trigger uses is kept out of the other triggers’ lists.
  • A per-trigger Enabled toggle: on sends only the Mailgun template and suppresses Voxel’s own email; off leaves Voxel to send normally. Never both.
  • Automatic fallback to Voxel’s default email if the Mailgun send fails, so recipients are never dropped.
  • Activity Log with per-event toggles (trigger, send, general) for diagnosing delivery; mirrors to the PHP error log when WP_DEBUG_LOG is on.
  • Programmatic sending via CodictsVoxelMailgunner_mailer::send(), with optional subject, reply-to, direct variable overrides, and up to three Mailgun tags.
  • Configurable From name and email (defaults to the site name and admin email) plus reply-to.
  • Filters for extending it: codicts_mailgunner_request_body, codicts_mailgunner_after_send, and codicts_mailgunner_resolve_tag.
  • Hub settings page with sidebar menu and a gear-icon shortcut from the Hub addon directory.

Changelog

What’s new

Version 1.15.1 · 13 Nov 2026
  • Changed: Clear finished is red, as every delete and clear is across our add-ons.
  • New: the Email Log changes in place. Retry now and Delete, in a row or in bulk, update just those emails, with no reload: your place, filters and scroll stay put. A bulk run shows its progress, can be stopped, and ends with what changed. A retry Mailgun still cannot take says why, and a deleted email’s row is blanked to “Email deleted.” until the page loads again. Needs Codicts Hub 2.8.0.
  • New: Screen Options on the Email Log list, and only there: how many emails a page shows (it was always 20), and which columns.
  • Changed: Delete, in a row, in bulk or on an email, and Clear finished ask in the Hub’s own dialog, not the browser’s.
  • Changed: Import settings asks in the Hub’s own dialog, not the browser’s.
  • Changed: held emails are retried, and the Email Log is aged, by the Hub’s scheduler, each retry still at its own time. Needs Codicts Hub 2.4.0.
  • New: the Lab can set up {C} Voxel Mailgunner for you: its settings, mappings and triggers, test sends, retries and the Email Log, from a chat.
  • New: every email now has a plain-text version as well as the HTML, written by Mailgun from your template. Emails held for a retry get one too.
  • New View templates window: see which variables a Mailgun template uses and what fills each one, which triggers send it, a preview, and its HTML to download.
  • The trigger check now looks inside mappings with more than one tag, like a fallback, and names any tag that doesn’t exist. Plain text mappings no longer show a badge.
  • The trigger check no longer says a mapping is empty because of a modifier on its tag, such as @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.
  • A mapping that reads into a field’s value, such as an image’s link (@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.
codicts-voxel-mailgunner featured image

Voxel Mailgunner

Version
1.15.1
Last updated
13 Nov 2026
Works with
Voxel
Needs
Codicts Hub 2.4.0 · PHP 8.0
Category
Utility

Published by

Codicts

Made by Codicts

In every Pro plan. One switch on the Hub’s Add-ons screen.

Reviews

What people say

Reviews are written by customers with an active license. Sign in

Explore

More in Utility

codicts-permalink-router featured image
Pro

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.

Customization
Utility
codicts-voxel-post-from-repeaters featured image
Pro

By Codicts

Turn the rows of a Voxel repeater field into real posts, and keep them in sync as those rows change.

Listings
Utility
Requires Voxel
codicts-user-transfer featured image
Pro
v1.3.1

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.

Admin Tools
Utility
Pro

By Codicts

A table of contents that search engines can read and your readers can use, added to your posts automatically.

Utility

Got a feature in mind? Just ask.

Download the Hub, open the Lab, start typing.