MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / sendSendGridMail

Function sendSendGridMail

packages/@deeplib/mail/src/send-grid.ts:13–25  ·  view source on GitHub ↗
({
  from,
  to,
  subject,
  html,
}: MailOptions)

Source from the content-addressed store, hash-verified

11});
12
13export async function sendSendGridMail({
14 from,
15 to,
16 subject,
17 html,
18}: MailOptions) {
19 await _getSendGridMail().send({
20 from,
21 to,
22 subject: iif(process.env.DEV, '[SendGrid] ', '') + subject,
23 html,
24 });
25}

Callers 1

handleCommandFunction · 0.90

Calls 2

iifFunction · 0.90
sendMethod · 0.80

Tested by

no test coverage detected