send_logger.lua

 1-- send_logger.lua
 2-- Logs every email you send for personal record-keeping.
 3
 4local matcha = require("matcha")
 5
 6matcha.on("email_send_before", function(email)
 7    matcha.log("Sending to: " .. email.to .. " | Subject: " .. email.subject)
 8end)
 9
10matcha.on("email_send_after", function()
11    matcha.notify("Email sent successfully!", 3)
12end)