Skip to content

Commit 0319520

Browse files
committed
docs: add js docs
1 parent bd945e2 commit 0319520

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/email.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import type { EmailMessage } from './types/message';
22
import {MessageType} from './types/message'
33

4+
/**
5+
* Determines the recipients for an email reply based on the last email message's details,
6+
* the conversation contact, and system-specific email addresses.
7+
*/
48
export function getRecipients(lastEmail: EmailMessage, conversationContact: string, inboxEmail: string, forwardToEmail: string) {
59
let to = [] as string[];
610
let cc = [] as string[];

0 commit comments

Comments
 (0)