Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

AEM Email Custom Template


Level 10




AEM Email Custom Template

  by @Imran__Khan 


AEM Email Custom Template


This blog will help us get an overall understanding of sending emails with custom templates (content, style, and attachments) with the help of the EmailService API provided by ACS Commons.


ACS Commons EmailService internally uses the OOTB MessageGateway service to send an email from the com.day.cq.mailer package. ACS Commons simplified the process in terms of sending an email through the EmailService API.


We will be covering the following topics as part of this blog:

  • Sending Emails using the EmailService
  • Apply CSS or style as part of the email.
  • OSGI configurations are required to send emails.
  • Send attachments as part of the email.
  • acs-commons-email-service System Service User


Please use this thread to ask questions relating to this article

1 Comment