Hi @SAM WILSON ,
Thanks for reach out here.
Yes. You can use Application insights Api for custom events and metrics to store mails as a custom telemetry data. This data can be stored as logs and can be queried using log analytics.
App insights core telemetry Api : https://learn.microsoft.com/en-us/azure/azure-monitor/app/api-custom-events-metrics
Please note that there are some limitations to this approach
Additionally, there are also other resources in Azure to store mails / data. You can choose storage accounts or any choice of your database whichever suits your requirement.
Feel free to reach out to me if you have queries.
I hope this helps!
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.