Create emailAutomation.js