Refactor email send-off job