update send mail class