()
| 38 | * Get the personal email from address and reply-to |
| 39 | */ |
| 40 | export 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 | } |
no test coverage detected