John Deere interview question

How will you automate an email-sending process?