Thank you mitpatoliya for you quick answer, I've already created my CustomReview implement TaskListener and I can send email but without attachments because MailActionExecuter doesn't support attachments, and I didn't find a clue for that.
I understand you want to send an email with attachment and using MailActionExecuter you are not able to do it. One alternative to do it would be as follow - 1. Create a bean say MailBean. Inject JavaMailSender to it the way it has been done in MailActionExecuter. 2. Create a method which will take parameters from, to, cc, bcc, subject, bodyText and File. 3. Now, create MimeMessage and MimeMessageHelper instances. 4. Use MimeMessageHeper's addAttachment() method to add an attachment and then send the message. 5. You can get the MailBean in your task listener by loading it from the spring context.