writing a automation email to clients