update with function name : sendMailEmbededWithAttachment