Title: MailArchiver
Author: Pierre Lannoy
Published: <strong>December 2, 2019</strong>
Last modified: March 20, 2026

---

Search plugins

![](https://ps.w.org/mailarchiver/assets/icon-256x256.png?rev=2204899)

# MailArchiver

 By [Pierre Lannoy](https://profiles.wordpress.org/pierrelannoy/)

[Download](https://downloads.wordpress.org/plugin/mailarchiver.4.6.0.zip)

 * [Details](https://wordpress.org/plugins/mailarchiver/#description)
 * [Reviews](https://wordpress.org/plugins/mailarchiver/#reviews)
 *  [Installation](https://wordpress.org/plugins/mailarchiver/#installation)
 * [Development](https://wordpress.org/plugins/mailarchiver/#developers)

 [Support](https://wordpress.org/support/plugin/mailarchiver/)

## Description

**Automatically archive all emails sent from your site. Store them in your WordPress
database or send them to external services.**

**MailArchiver** is a tool that allows you to:

 * catch emails sent by WordPress itself or plugins;
 * enrich them with details regarding their sending;
 * archive them in the WordPress database and/or send them to external services 
   for logging and alerting;
 * view (and filter) archived emails in the WordPress database.

It supports multisite archive delegation (see FAQ) and contains many features to
help to protect personal information (user pseudonymization, IP obfuscation, etc.).

At this time, **MailArchiver** can archive emails:

 * to its internal archiving storage and viewer;
 * to local or network storage (with file rotation);
 * to Imap servers, like GMail, Gandi, OVH or Outlook.Com;
 * to external storage services, like Elasticsearch, Elastic Cloud, Loki or Grafana
   Cloud;
 * to external alerting services, like Pushover or Slack;
 * to external testing & previewing services, like Litmus, MailerCheck or Email 
   on Acid;
 * to external logging services, like Logentries / insightOps or Loggly;
 * to system loggers, like Syslog or Fluentd.

For a full list of supported – internal or third-party – services please, jump to
the official [supported services list](https://perfops.one/mailarchiver#services).

**MailArchiver** supports an extensive set of WP-CLI commands to:

 * decrypt a previously encrypted mail body – see `wp help m-archive decrypt` for
   details;
 * toggle on/off main settings – see `wp help m-archive settings` for details;
 * manage archivers (list, start, pause, clean, purge, remove, add and set) – see`
   wp help m-archive archiver` for details;
 * view available archiver types (list and describe) – see `wp help m-archive type`
   for details.

For a full help on WP-CLI commands in MailArchiver, please [read this guide](https://perfops.one/mailarchiver-wpcli).

> **MailArchiver** is part of [PerfOps One](https://perfops.one/), a suite of free
> and open source WordPress plugins dedicated to observability and operations performance.

**MailArchiver** is a free and open source plugin for WordPress. It integrates many
other free and open source works (as-is or modified). Please, see ‘about’ tab in
the plugin settings to see the details.

#### Support

This plugin is free and provided without warranty of any kind. Use it at your own
risk, I’m not responsible for any improper use of this plugin, nor for any damage
it might cause to your site. Always backup all your data before installing a new
plugin.

Anyway, I’ll be glad to help you if you encounter issues when using this plugin.
Please read carefully the FAQ at the bottom of this page before requesting support.

#### Privacy

This plugin, as any piece of software, is neither compliant nor non-compliant with
privacy laws and regulations. It is your responsibility to use it – by activating
the corresponding options or services – with respect for the personal data of your
users and applicable laws.

This plugin doesn’t set any cookie in the user’s browser.

This plugin may handle personally identifiable information (PII). If the GDPR or
CCPA or similar regulation applies to your case, you must use the anonymization 
options embedded in the plugin and/or adapt your processes (consent management, 
security measure, treatment register, etc.).

#### Donation

If you like this plugin or find it useful and want to thank me for the work done,
please consider making a donation to [La Quadrature Du Net](https://www.laquadrature.net/en)
or the [Electronic Frontier Foundation](https://www.eff.org/) which are advocacy
groups defending the rights and freedoms of citizens on the Internet. By supporting
them, you help the daily actions they perform to defend our fundamental freedoms!

## Screenshots

 * [[
 * Set Archivers
 * [[
 * Available Archivers Types
 * [[
 * Internal Viewer
 * [[
 * Email Details in Internal Viewer

## Installation

#### From your WordPress dashboard

 1. Visit ‘Plugins > Add New’.
 2. Search for ‘MailArchiver’.
 3. Click on the ‘Install Now’ button.
 4. Activate MailArchiver.

#### From WordPress.org

 1. Download MailArchiver.
 2. Upload the `mailarchiver` directory to your `/wp-content/plugins/` directory, using
    your favorite method (ftp, sftp, scp, etc…).
 3. Activate MailArchiver from your Plugins page.

#### Once Activated

 1. Visit ‘PerfOps One > Control Center > MailArchiver’ in the left-hand menu of your
    WP Admin to adjust settings.
 2. Enjoy!

## FAQ

### Can this plugin work on multisite?

Yes. It is designed to work on multisite too. Network Admins can configure the plugin
and have access to all archives. Sites Admins have access to the archives of their
own sites.

### Where can I get support?

Support is provided via the official [WordPress page](https://wordpress.org/support/plugin/mailarchiver/).
Because I am human myself, please note that I only answer to support requests made
by humans, who behave like humans. This excludes requests or bug reports written
by AI or those that do not adhere to basic rules of courtesy.

### Where can I find documentation?

Documentation for users is provided as the form of inline help in the plugin.

### Where can I report a bug?

You can report bugs and suggest ideas via the [GitHub issue tracker](https://github.com/Pierre-Lannoy/wp-mailarchiver/issues)
of the plugin.

## Reviews

![](https://secure.gravatar.com/avatar/93b9a9f3752143c427cca75c28708b41b9943f3a2d82ffedaa90f14a2d6f1a18?
s=60&d=retro&r=g)

### 󠀁[Easy to use – perfect to debug](https://wordpress.org/support/topic/easy-to-use-perfect-to-debug/)󠁿

 [Sebastien SERRE](https://profiles.wordpress.org/sebastienserre/) June 13, 2025
1 reply

Really easy to use plugin. We’re often using it at the Polylang Pro helpdesk to 
check in which language a mail is sent, for example.

![](https://secure.gravatar.com/avatar/7d7c5de842964f99402f23f1b528a56e27a1388f4bce967598a02108b2705622?
s=60&d=retro&r=g)

### 󠀁[A must-have to analyze all emails sent from your site](https://wordpress.org/support/topic/a-must-have-to-analyze-all-emails-sent-from-your-site/)󠁿

 [Loïc Antignac](https://profiles.wordpress.org/webaxones/) July 16, 2020 1 reply

This plugin is the perfect solution for testing emails sent by WordPress or plugins
like WooCommerce & co within a localhost environment. For composer users, should
be in every require-dev!

![](https://secure.gravatar.com/avatar/69b74a8b449201f3e9e4c562803d8ede0bb97bd5ad04af631f12d6a7cac673ea?
s=60&d=retro&r=g)

### 󠀁[This is a great piece of software](https://wordpress.org/support/topic/this-is-a-great-piece-of-software/)󠁿

 [danielepais](https://profiles.wordpress.org/danielepais/) May 4, 2020 1 reply

The plugin does exactly what it says and I can now monitor all mails gong out. Perfect.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/mailarchiver/reviews/)

## Contributors & Developers

“MailArchiver” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Pierre Lannoy ](https://profiles.wordpress.org/pierrelannoy/)
 *   [ Hosterra ](https://profiles.wordpress.org/hosterra/)

“MailArchiver” has been translated into 3 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/mailarchiver/contributors)
for their contributions.

[Translate “MailArchiver” into your language.](https://translate.wordpress.org/projects/wp-plugins/mailarchiver)

### Interested in development?

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

## Changelog

Please, see [full changelog](https://perfops.one/mailarchiver-changelog).

## Community plugin

This plugin is developed and supported by a community. [Contribute to this plugin](https://github.com/Pierre-Lannoy/wp-mailarchiver)

## Meta

 *  Version **4.6.0**
 *  Last updated **2 weeks ago**
 *  Active installations **100+**
 *  WordPress version ** 6.4 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 8.2 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/mailarchiver/), [French (Belgium)](https://fr-be.wordpress.org/plugins/mailarchiver/),
   [French (Canada)](https://fr-ca.wordpress.org/plugins/mailarchiver/), and [French (France)](https://fr.wordpress.org/plugins/mailarchiver/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/mailarchiver)
 * Tags
 * [archive](https://wordpress.org/plugins/tags/archive/)[email](https://wordpress.org/plugins/tags/email/)
   [email log](https://wordpress.org/plugins/tags/email-log/)[log](https://wordpress.org/plugins/tags/log/)
   [mail](https://wordpress.org/plugins/tags/mail/)
 *  [Advanced View](https://wordpress.org/plugins/mailarchiver/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/mailarchiver/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/mailarchiver/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/mailarchiver/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/mailarchiver/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/mailarchiver/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/mailarchiver/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mailarchiver/reviews/)

## Contributors

 *   [ Pierre Lannoy ](https://profiles.wordpress.org/pierrelannoy/)
 *   [ Hosterra ](https://profiles.wordpress.org/hosterra/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/mailarchiver/)