import { hamptonzachary29@gmail.com} from "https://esm.town/v/std/email?v=9";
async function fetchRandomJoke() {
const response = await fetch(
"https://official-joke-api.appspot.com/random_joke",
);
return response.json();
}
const randomJoke = await fetchRandomJoke();
const setup = randomJoke.setup;
const punchline = randomJoke.punchline;
export const emailRandomJoke = email({
text: punchline,
subject: setup,
});