added new call for sending email message from AppID