Oracle Cloud Infrastructure (OCI) services emit events, which are structured messages that indicate changes in resources. Creating rules to work with events and specifying an action to trigger when it finds a matching event is required. Email notification actions are responses that you define for event matches. You’re notified with raw JSON output if you configure email notifications for events.
In this post, we walk you through how to get email-friendly notifications from OCI events.
Use cases
The OCI Monitoring service sends event notifications in raw JSON messages by default. You can now customize a format in which to receive notification in email from OCI Monitoring. The service now offers the following options:
Solution overview
This solution uses OCI Functions, a serverless compute service to read JSON data from OCI events and parse important information into HTML for the body of emails and send to OCI Email Delivery.
For detailed steps about email-friendly notification from OCI events, visit our tutorial on the Learning page.

Figure 1. Cloud native notification workflow
Figure 1 illustrates the cloud native notification workflow from various sources. The email notification configured for the event rule produces raw JSON, and the service connector provides partial formatted JSON output.

Figure 2. Custom notification workflow
Figure 2 illustrates the custom solution using OCI Email Delivery. It produces email-friendly notifications and raw JSON output.
About the OCI services used in this solution
This solution uses the following OCI services:
-
The OCI Events service produces structured messages that indicate changes in resources. It follows the Cloud Events industry-standard format hosted by the Cloud Native Computing Foundation (CNCF). To learn more about OCI events, see the OCI Events documentation.
-
OCI Functions is a fully managed, multitenant, highly scalable, on-demand, Functions-as-a-Service platform. To learn more about Oracle Functions, see the OCI Functions documentation.
-
OCI Email Delivery provides a fast and reliable managed solution for sending secured, high-volume transactional emails. To learn more about OCI email delivery, see the OCI Email Delivery documentation.
Learn more about email-friendly notifications with OCI events
In this post, we went through how to configure email notifications for events and improve the efficiency of operation teams to act quicker. OCI Events and Monitoring provide the powerful ability to customize your email body and use your company banner as the header in email notifications.
To learn more about OCI Monitoring notifications, see the following blog posts:
For detailed steps about email friendly notification from Oracle Cloud Infrastructure Events, visit our tutorial on the Learning page.
Dipesh Rathod
Master Principal Cloud Architect
Dipesh Rathod joined Oracle in 2022. He is a Master Principal Cloud Architect, Infrastructure for the North America Cloud Engineering team at Oracle, where his focus spans OCI cloud infrastructure design and solution architecture.
He extensively worked in managed cloud services and understands the group realities of building and supporting a cloud infrastructure from the ground up.
Finally, Dipesh loves nature walk and socializing connections.
Show more
Bhanu Prakash Lohumi
Senior Cloud Engineer
Bhanu Prakash Lohumi is a member of North America Cloud Infrastructure DevSecOps Team. He works on the DevOps front and provides solutions to customer on various automation requirements.