Moved send_email_info to top