update to email automation