Title: P2 By Email
Author: Daniel Bachhuber
Published: <strong>Май 8, 2013</strong>
Last modified: Май 9, 2013

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/p2-by-email.svg)

# P2 By Email

 By [Daniel Bachhuber](https://profiles.wordpress.org/danielbachhuber/)

[Download](https://downloads.wordpress.org/plugin/p2-by-email.1.0.zip)

 * [Details](https://os.wordpress.org/plugins/p2-by-email/#description)
 * [Reviews](https://os.wordpress.org/plugins/p2-by-email/#reviews)
 *  [Installation](https://os.wordpress.org/plugins/p2-by-email/#installation)
 * [Development](https://os.wordpress.org/plugins/p2-by-email/#developers)

 [Support](https://wordpress.org/support/plugin/p2-by-email/)

## Description

P2 By Email enables you to use P2 by email:

 * Get instant notifications when posts or comments are published.
 * Ensure you’re always notified when your username is mentioned.
 * Reply to posts or comments by email.
 * Create new posts with a secret email address.

Perfect for communicating with your team while on the go.

Users can change their communication preferences from the default of all posts and
comments using profile settings. A special setting can ensure they always receive
an email when their username is mentioned.

Want another feature added? [Send us a pull request](https://github.com/humanmade/P2-By-Email/)
and we’ll consider it. Reply by email depends on a [young email reply parsing class](https://github.com/humanmade/What-The-Email)—
there’s the chance a comment will appear oddly, and we welcome improvements to the
regex.

## Installation

Want to get started using the plugin? Follow these steps:

 1. Download and install the plugin in your plugins directory.
 2. Activate the plugin.
 3. Profit!

By default, all users will receive all post and comment notifications.

Enabling posting or replying by email takes a few more steps:

 1. Register a Gmail or similar email account that supports IMAP.
 2. Add the code snippet below with account details to your theme’s functions.php file.
    It tells P2 By Email that you’re set up to use post or reply by email.
 3. Install [wp-cli](http://wp-cli.org/) and set up a system cron job to regularly 
    call `wp p2-by-email ingest-emails`.
 4. add_filter( ‘p2be_email_replies_enabled’, ‘__return_true’ );
     add_filter( ‘p2be_emails_reply_to_email’,
    function( $email ) { return ‘YOURACCOUNT@gmail.com’; }); add_filter( ‘p2be_imap_connection_details’,
    function( $details ) {
 5.     ```
        $details['host'] = '{imap.gmail.com:993/imap/ssl/novalidate-cert}';
        $details['username'] = 'YOURACCOUNT@gmail.com';
        $details['password'] = 'PASSWORD';
    
        return $details;
        ```
    
 6. } );

## FAQ

None yet… Feel free to ask a question in the forums!

## Reviews

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

### 󠀁[Great](https://wordpress.org/support/topic/great-5717/)󠁿

 [ivanblagdan](https://profiles.wordpress.org/ivanblagdan/) Февраль 7, 2017

Just what I need 🙂

 [ Read all 4 reviews ](https://wordpress.org/support/plugin/p2-by-email/reviews/)

## Contributors & Developers

“P2 By Email” is open source software. The following people have contributed to 
this plugin.

Contributors

 *   [ Daniel Bachhuber ](https://profiles.wordpress.org/danielbachhuber/)
 *   [ Human Made ](https://profiles.wordpress.org/humanmade/)

[Translate “P2 By Email” into your language.](https://translate.wordpress.org/projects/wp-plugins/p2-by-email)

### Interested in development?

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

## Changelog

#### 1.0 (May 8, 2013)

 * Initial release. Email notifications for posts, comments, and mentions; post 
   and reply by email with special configuration.

## Meta

 *  Version **1.0**
 *  Last updated **13 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.4 or higher **
 *  Tested up to **3.6.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/p2-by-email/)
 * Tags
 * [email notifications](https://os.wordpress.org/plugins/tags/email-notifications/)
   [GTD](https://os.wordpress.org/plugins/tags/gtd/)[p2](https://os.wordpress.org/plugins/tags/p2/)
   [productivity](https://os.wordpress.org/plugins/tags/productivity/)[workflow](https://os.wordpress.org/plugins/tags/workflow/)
 *  [Advanced View](https://os.wordpress.org/plugins/p2-by-email/advanced/)

## Ratings

 5 out of 5 stars.

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

[Your review](https://wordpress.org/support/plugin/p2-by-email/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/p2-by-email/reviews/)

## Contributors

 *   [ Daniel Bachhuber ](https://profiles.wordpress.org/danielbachhuber/)
 *   [ Human Made ](https://profiles.wordpress.org/humanmade/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/p2-by-email/)