MCPcopy
hub / github.com/simstudioai/sim / getPersonalEmailFrom

Function getPersonalEmailFrom

apps/sim/lib/messaging/email/utils.ts:40–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 * Get the personal email from address and reply-to
39 */
40export function getPersonalEmailFrom(): { from: string; replyTo: string | undefined } {
41 const personalFrom = env.PERSONAL_EMAIL_FROM
42 if (personalFrom) {
43 return {
44 from: personalFrom,
45 replyTo: extractEmailFromAddress(personalFrom),
46 }
47 }
48 return {
49 from: getFromEmailAddress(),
50 replyTo: undefined,
51 }
52}

Callers 4

auth.tsFile · 0.90
sendPaymentFailureEmailsFunction · 0.90
handleAbandonedCheckoutFunction · 0.90
sendLifecycleEmailFunction · 0.90

Calls 2

extractEmailFromAddressFunction · 0.85
getFromEmailAddressFunction · 0.85

Tested by

no test coverage detected