This action gets called at the beginning of each Postie session. I.e. when Postie starts the process to check for emails and turn them into posts.
add_action('postie_session_start', 'my_postie_session_start_action'); function my_postie_session_start_action() { //get ready to process a bunch of emails }