Main routing for email