send mail encapsulation