in email-lambda/run.ts [29:50]
value: async () =>
sendEmail({
email: yourEmail,
emailData: {
pinboardId: "65283",
workingTitle: "Pinboard email-lambda DEV",
headline:
"Never miss a pinboard mention with this cool new feature",
firstName: "Hazel",
lastName: "Nutt",
avatarUrl:
"https://thumbs.dreamstime.com/z/hazelnut-5422216.jpg",
id: "2616",
type: "grid-crop",
message: `Hi @${yourName} this is a test message for the email-lambda, with a piccy...`,
thumbnailURL:
"https://i.guim.co.uk/img/media/5be7630c7fda4af9dfd2b2746adc4b1b6258b142/525_1014_4710_2826/master/4710.jpg?width=500&dpr=2&s=none",
timestamp: new Date("2023-05-12T11:48:25.504Z"),
},
isIndividualMentionEmail: true,
ref: 2616,
}).then(console.log),