{"id":23210,"date":"2013-05-08T21:06:45","date_gmt":"2013-05-08T21:06:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/p2-by-email\/"},"modified":"2013-05-09T00:24:18","modified_gmt":"2013-05-09T00:24:18","slug":"p2-by-email","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/p2-by-email\/","author":183657,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"3.6.1","requires":"3.4","requires_php":"","requires_plugins":"","header_name":"P2 By Email","header_author":"danielbachhuber, humanmade","header_description":"","assets_banners_color":"","last_updated":"2013-05-09 00:24:18","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/p2-by-email\/","header_author_uri":"http:\/\/hmn.md\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":41142,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"4"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1203,7138,38000,2345,8197],"plugin_category":[],"plugin_contributors":[77514,77786],"plugin_business_model":[],"class_list":["post-23210","plugin","type-plugin","status-publish","hentry","plugin_tags-email-notifications","plugin_tags-gtd","plugin_tags-p2","plugin_tags-productivity","plugin_tags-workflow","plugin_contributors-danielbachhuber","plugin_contributors-humanmade","plugin_committers-danielbachhuber","plugin_committers-humanmade"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/p2-by-email.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>P2 By Email enables you to use P2 by email:<\/p>\n\n<ul>\n<li>Get instant notifications when posts or comments are published.<\/li>\n<li>Ensure you're always notified when your username is mentioned.<\/li>\n<li>Reply to posts or comments by email.<\/li>\n<li>Create new posts with a secret email address.<\/li>\n<\/ul>\n\n<p>Perfect for communicating with your team while on the go.<\/p>\n\n<p>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.<\/p>\n\n<p>Want another feature added? <a href=\"https:\/\/github.com\/humanmade\/P2-By-Email\/\">Send us a pull request<\/a> and we'll consider it. Reply by email depends on a <a href=\"https:\/\/github.com\/humanmade\/What-The-Email\">young email reply parsing class<\/a> \u2014 there's the chance a comment will appear oddly, and we welcome improvements to the regex.<\/p>\n\n<!--section=installation-->\n<p>Want to get started using the plugin? Follow these steps:<\/p>\n\n<ol>\n<li>Download and install the plugin in your plugins directory.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Profit!<\/li>\n<\/ol>\n\n<p>By default, all users will receive all post and comment notifications.<\/p>\n\n<p>Enabling posting or replying by email takes a few more steps:<\/p>\n\n<ol>\n<li>Register a Gmail or similar email account that supports IMAP.<\/li>\n<li>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.<\/li>\n<li><p>Install <a href=\"http:\/\/wp-cli.org\/\">wp-cli<\/a> and set up a system cron job to regularly call <code>wp p2-by-email ingest-emails<\/code>.<\/p>\n\n<p>add_filter( 'p2be_email_replies_enabled', '__return_true' );\nadd_filter( 'p2be_emails_reply_to_email', function( $email ) {\n    return 'YOURACCOUNT@gmail.com';\n});\nadd_filter( 'p2be_imap_connection_details', function( $details ) {<\/p>\n\n<pre><code>$details['host'] = '{imap.gmail.com:993\/imap\/ssl\/novalidate-cert}';\n$details['username'] = 'YOURACCOUNT@gmail.com';\n$details['password'] = 'PASSWORD';\n\nreturn $details;\n<\/code><\/pre>\n\n<p>} );<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>None yet... Feel free to ask a question in the forums!<\/p>\n\n<!--section=changelog-->\n<h4>1.0 (May 8, 2013)<\/h4>\n\n<ul>\n<li>Initial release. Email notifications for posts, comments, and mentions; post and reply by email with special configuration.<\/li>\n<\/ul>","raw_excerpt":"Use P2? Use email? Use both!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/23210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=23210"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/danielbachhuber"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=23210"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=23210"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=23210"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=23210"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=23210"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=23210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}