in email-lambda/run.ts [54:73]
value: async () =>
sendEmail({
email: yourEmail, // in real life this would be a mailing list address
emailData: {
pinboardId: "65284",
workingTitle: "Some more pinboard email-lambda testing",
headline: "This really is a brilliant feature",
firstName: "Chris P.",
lastName: "Bacon",
avatarUrl:
"https://assets.epicurious.com/photos/57714624e43289453ac28e41/1:1/w_2560%2Cc_limit/diner-bacon-hero-22062016.jpg",
id: "2618",
type: "message-only",
message: "Hi @digicms this is really great",
thumbnailURL: null,
timestamp: new Date("2023-05-12T12:12:43.803Z"),
},
isIndividualMentionEmail: false,
ref: 2618,
}).then(console.log),