update send mail controller