refactor reply on send email