Added email processing