Back

Version 1

5/3/2024
import { discordWebhook } from "https://esm.town/v/stevekrouse/discordWebhook";

export default async function(email: Email) {
console.log(JSON.stringify(email));

// if (email.from !== "Render <no-reply@render.com>") return "Unauthorized";

discordWebhook({
url: Deno.env.get("engDiscord"),
content: `<@&1081224342110736394> Render Email: ${email.subject}`,
});
}
Updated: May 3, 2024