added custom code support for the receiver email