flow of email control