WordPress integration

Fill your emails from your WordPress site.

Modular Mail is a CMS for email. With its WordPress plugin, the trips, events, posts and WooCommerce products on your site fill the fields of your own email templates: the title, image, price, link and any custom field you choose. A newsletter of eight trips becomes eight picks instead of a morning of copying, pasting and checking links.

Works with custom post types and ACF fields.

How it works

From your site to the email in three steps

The first two happen once. After that, picking posts is part of building a campaign.

  1. Site admin

    01

    Install the plugin

    Tick the post types to share, map each one's fields and copy the connection code into Modular Mail.

  2. Your developer, or us

    02

    Mark what each field takes

    In the template, set fields to take a post's title, image, link, price or any other field the site shares.

  3. Marketer

    03

    Pick the posts

    Search your site from the editor and pick the trips, events or products this email needs.

In the email

What fills in, and what stays on your site

A pick is ordinary content, so your team can still rewrite a title or swap an image before the email goes out.

From each post

  • The title, excerpt, featured image, link and publish date, which every post has.
  • Custom fields from ACF or plain post meta, such as a trip's price, its length or its next departure.
  • Taxonomy terms as text, so a trip tagged Peru and Bolivia can say so.
  • Images at a size that suits the space they fill, as JPEG when the upload is WebP or AVIF, which some email clients can't show.
  • WooCommerce products with their prices and a Sale badge, picked the same way.

What stays on your site

  • Your content. Posts travel from your site to your team's browser, and our servers never call your site.
  • Anything unpublished. The plugin only answers with published posts of the types you ticked, so drafts, private posts and password-protected ones stay out.
  • Write access. The plugin is read only and can't change a post, a setting or a user.
  • Anything beyond the email. Only what someone puts into a campaign (a title, a price, an image, a link) is saved, like any other content.
FAQ

Questions about the WordPress integration

Does it work with custom post types and ACF?

Yes. Your site admin ticks the post types to share, such as Trips or Events, and maps each one's fields. Those can be standard fields, taxonomies, post meta or ACF fields that hold text, a number, a choice, an image, a link, a date or a true or false. ACF repeater, flexible content, gallery and group fields aren't supported yet.

How is this different from RSS-to-email or a latest posts block?

Those are a good fit when the email is a feed of your newest blog posts. A feed usually carries a title, an excerpt and a link, so a trip's price or dates don't come through, and the email is filled when it sends. Modular Mail fills custom fields into your own template, lets your team choose which posts go in and in what order, and saves the values when the email is built. What was approved is what goes out.

Does Modular Mail send the email?

No. Modular Mail is where the email is built. The finished HTML exports to Mailchimp, Klaviyo, HubSpot, Salesforce Marketing Cloud or whichever ESP you use, and that platform sends it.

Do we need a developer?

Once, to set up the template: your own HTML is marked up so each field knows what it takes from a post. Your developer or agency can do that, or we can do it for you. After that your team builds every email without touching code. Template setup service

What does the plugin need, and where do we get it?

WordPress 6.4 or later and PHP 8.1 or later, plus WooCommerce 8.0 or later if you want to pick products. We send you the plugin as a zip file when you start. It isn't in the WordPress plugin directory yet.

Our site has its REST API restricted. Will it work?

Your team's browsers ask the site directly, so the plugin's routes have to be reachable from them. If the site sits behind a login, or a security plugin switches the REST API off, those routes need allowing. They answer only to your connection's key and are rate limited.

Can a row of posts fill itself?

Yes. A template can have a module that fills with your latest posts of a type when it's added, for example the three newest trips. Your team can swap any of them for a different post, and Refresh asks the site again. Nothing refills without someone asking.

What happens if a post changes after it's been picked?

The email keeps what was picked. A pick copies the values into the campaign, so an edit on the site never changes an email that has already been reviewed. To take the newer version, open the item and choose Update.

Can we connect more than one site?

Each workspace connects one WordPress site. It can also connect one Shopify store, and products come from one or the other. The Shopify integration

Which plans include the WordPress integration?

Every plan, from Starter up. See pricing

See your own newsletter fill from a site.

Forward us a recent newsletter and we'll rebuild it in Modular Mail, then fill it from a WordPress site on the call.