add sendmail function with composer
add sendmail function with composer and mail/transaction