Hi @kkhan_123
Just try this once.
Using the Email API to send attachments (since v2.6.0/3.2.0)
The sendMail(..) method now supports the following signature:
public List<String> sendEmail(String templatePath, Map<String, String> emailParams, Map<String, DataSource> attachments, String... recipient...