Title: Japeto Labs – Write to Your MP
Author: japetolabs
Published: <strong>July 16, 2026</strong>
Last modified: July 16, 2026

---

Search plugins

![](https://ps.w.org/japeto-labs-write-to-your-mp/assets/banner-772x250.png?rev=
3610449)

![](https://ps.w.org/japeto-labs-write-to-your-mp/assets/icon-256x256.png?rev=3610449)

# Japeto Labs – Write to Your MP

 By [japetolabs](https://profiles.wordpress.org/japetolabs/)

[Download](https://downloads.wordpress.org/plugin/japeto-labs-write-to-your-mp.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/japeto-labs-write-to-your-mp/#description)
 * [Reviews](https://wordpress.org/plugins/japeto-labs-write-to-your-mp/#reviews)
 *  [Installation](https://wordpress.org/plugins/japeto-labs-write-to-your-mp/#installation)
 * [Development](https://wordpress.org/plugins/japeto-labs-write-to-your-mp/#developers)

 [Support](https://wordpress.org/support/plugin/japeto-labs-write-to-your-mp/)

## Description

Write to Your MP adds a postcode box to any page. A visitor enters their postcode,
sees their MP’s name, constituency, party, and email, and gets a campaign letter
they can edit before sending. Clicking the button opens the letter in their own 
email client via `mailto:` — the email is sent by the visitor, not your site, so
you carry no responsibility for moderating outgoing mail.

Features:

 * Postcode to MP lookup with no API key required.
 * Multiple campaigns, each a separate entry with its own shortcode `[wtym_write_to_mp
   slug="your-campaign"]`.
 * Editable letter templates with placeholders for MP details and supporter-entered
   fields.
 * Configurable visitor fields (first name, last name, postal address) per campaign,
   with optional required validation.
 * Friendly handling of invalid postcodes, vacant seats, and MPs with no public 
   email.
 * Self-contained, responsive styling that inherits your theme fonts.

Placeholders:

 * From the MP lookup: `{mp_name}`, `{constituency}`, `{party}`.
 * From the supporter (the fields you enable): `{first_name}`, `{last_name}`, `{
   address}`.

### External services

This plugin looks up MP details from two public services, called server-side only
when a visitor submits a postcode:

 * postcodes.io (https://postcodes.io) — converts a postcode to a constituency. 
   Privacy: https://postcodes.io/about
 * UK Parliament Members API (https://members-api.parliament.uk) — returns the MP’s
   name, party, and contact email. Terms: https://www.parliament.uk

No personal data is stored by this plugin; the letter is sent from the visitor’s
own email client.

## Screenshots

[⌊The postcode lookup form embedded on a campaign page.⌉⌊The postcode lookup form
embedded on a campaign page.⌉[

The postcode lookup form embedded on a campaign page.

[⌊MP details and the pre-written, editable letter shown after a successful lookup.⌉⌊
MP details and the pre-written, editable letter shown after a successful lookup.⌉[

MP details and the pre-written, editable letter shown after a successful lookup.

[⌊Managing multiple campaigns in the WordPress admin.⌉⌊Managing multiple campaigns
in the WordPress admin.⌉[

Managing multiple campaigns in the WordPress admin.

[⌊Editing a campaign: intro, subject, letter body, and supporter fields.⌉⌊Editing
a campaign: intro, subject, letter body, and supporter fields.⌉[

Editing a campaign: intro, subject, letter body, and supporter fields.

## Installation

 1. Upload the plugin and activate it.
 2. Go to Write to Your MP and add a campaign. Set the intro, subject, letter body,
    and supporter fields.
 3. Publish the campaign and copy its shortcode.
 4. Paste the shortcode into a page (in Elementor use the Shortcode widget, not the
    HTML widget).

## FAQ

### Does this send email from my server?

No. It builds a `mailto:` link that opens the visitor’s own email client with the
recipient, subject, and body filled in. The visitor reviews and sends it themselves.

### Do I need an API key?

No. Both upstream services are free and require no key.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Japeto Labs – Write to Your MP” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ japetolabs ](https://profiles.wordpress.org/japetolabs/)

[Translate “Japeto Labs – Write to Your MP” into your language.](https://translate.wordpress.org/projects/wp-plugins/japeto-labs-write-to-your-mp)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/japeto-labs-write-to-your-mp/),
check out the [SVN repository](https://plugins.svn.wordpress.org/japeto-labs-write-to-your-mp/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/japeto-labs-write-to-your-mp/)
by [RSS](https://plugins.trac.wordpress.org/log/japeto-labs-write-to-your-mp/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First public release: multiple campaigns via a custom post type, configurable
   supporter fields, split placeholder reference, theme-inherited styling, and a
   modular codebase.

## Meta

 *  Version **1.0.0**
 *  Last updated **16 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.0.1**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [advocacy](https://wordpress.org/plugins/tags/advocacy/)[campaign](https://wordpress.org/plugins/tags/campaign/)
   [contact](https://wordpress.org/plugins/tags/contact/)[mp](https://wordpress.org/plugins/tags/mp/)
   [postcode](https://wordpress.org/plugins/tags/postcode/)
 *  [Advanced View](https://wordpress.org/plugins/japeto-labs-write-to-your-mp/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/japeto-labs-write-to-your-mp/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/japeto-labs-write-to-your-mp/reviews/)

## Contributors

 *   [ japetolabs ](https://profiles.wordpress.org/japetolabs/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/japeto-labs-write-to-your-mp/)