How to Automatically Send an Email Report After Each Test Suite Execution in Katalon Studio?

Hi everyone,

I’m trying to automatically send an email report after every Test Suite execution in Katalon Studio.

My requirement:

  • After a Test Suite finishes (Pass or Fail), an email should be sent automatically.
  • The email should be sent to specific recipients (company email addresses).
  • I want to attach the generated HTML/PDF report to the email.
  • This should happen without any manual intervention.

I have a few questions:

  1. What is the recommended way to implement this in Katalon Studio?
  2. Should I use a Test Listener (@AfterTestSuite) or another approach?
  3. Is there any built-in feature for email reporting, or do I need to use JavaMail/Jakarta Mail?
  4. If my company uses Microsoft 365 (Outlook) or Gmail with authentication, what is the best way to configure SMTP?
  5. Does anyone have a working example or GitHub repository that demonstrates this?

I’m looking for a reliable solution that works for local execution as well as CI/CD pipelines (Jenkins, GitHub Actions, etc.).

Any suggestions or sample code would be greatly appreciated.

Thank you!

Have you checked the official document?

If you have checked it and still has some questions, please describe them.

This Katalon document covers imap and pop method, and these doesn’t work anymore. If one needs to send email report to outlook mailbox then only way is to go Via Mircrosoft Graph API .

OK, then how @saravanakumar1 can use Microsoft Graph API? Any more instruction?

The following seems to be related to the topic: