Action: postie_session_end
This action gets called at the end of each Postie session. I.e. after Postie finishes the process of checking for emails and turning them into posts. add_action(‘postie_session_end’, ‘my_postie_session_end_action’); function my_postie_session_end_action() { //all done processing emails }