Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mechmillan
Created May 3, 2021 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mechmillan/729893265c1c78323099ca1c317f0ad0 to your computer and use it in GitHub Desktop.
Save mechmillan/729893265c1c78323099ca1c317f0ad0 to your computer and use it in GitHub Desktop.
interface ParsedMail {
attachments: Attachment[];
bcc?: AddressObject | AddressObject[];
cc?: AddressObject | AddressObject[];
date?: Date;
from?: AddressObject;
headerLines: HeaderLines;
headers: Headers;
html: string | false;
inReplyTo?: string;
messageId?: string;
priority?: "normal" | "low" | "high";
references?: string[] | string;
replyTo?: AddressObject;
subject?: string;
text?: string;
textAsHtml?: string;
to?: AddressObject | AddressObject[];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment