Automate email build