This filter is called when Postie extracts the “from” email address. For example you could use this function to create a WordPress user for this email if it came from your domain.
At the point the filter is called there is no post created.
The $email parameter is single email address.
add_filter('postie_filter_email', 'my_filterEmail');
function my_filterEmail($email) {
//create the user
return $email;
}
See also: