summaryrefslogtreecommitdiff
path: root/types/mailbox.go
blob: 16c9a089ae87efe6457e4d934b9832a64b87d52a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
package types

type EmailReadingOption string

const (
	EmailReadingOptionNever          EmailReadingOption = "Never"
	EmailReadingOptionImmediately    EmailReadingOption = "Immediately"
	EmailReadingOptionAfter5Seconds  EmailReadingOption = "After 5 Seconds"
	EmailReadingOptionAfter10Seconds EmailReadingOption = "After 10 Seconds"
	EmailReadingOptionAfter30Seconds EmailReadingOption = "After 30 Seconds"
	EmailReadingOptionAfter1Minute   EmailReadingOption = "After 1 Minute"
)

type EmailComposingOption string

const (
	EmailComposingOptionNeverHTML                           EmailComposingOption = "Never"
	EmailComposingOptionOnReplyToHTML                       EmailComposingOption = "When replying to HTML messages"
	EmailComposingOptionOnForwardOrReplyToHTML              EmailComposingOption = "When forwarding or replying to HTML messages"
	EmailComposingOptionAlwaysExceptWhenReplyingToPlainText EmailComposingOption = "Always, except when replying to plain text messages"
	EmailComposingOptionAlwaysHTML                          EmailComposingOption = "Always"
)

type RemoteResourceDownloadOption string

const (
	RemoteResourceDownloadOptionNever          RemoteResourceDownloadOption = "Never"
	RemoteResourceDownloadOptionFromMyContacts RemoteResourceDownloadOption = "From my contacts"
	RemoteResourceDownloadOptionAlways         RemoteResourceDownloadOption = "Always"
)

type ReturnReceiptOption string

const (
	ReturnReceiptOptionAskMe                         ReturnReceiptOption = "Ask me each time"
	ReturnReceiptOptionSendAlways                    ReturnReceiptOption = "Always send a receipt"
	ReturnReceiptOptionIgnore                        ReturnReceiptOption = "Ignore all requests"
	ReturnReceiptOptionSendToContactsOtherwiseAsk    ReturnReceiptOption = "Send receipt to my contacts, otherwise ask me"
	ReturnReceiptOptionSendToContactsOtherwiseIgnore ReturnReceiptOption = "Send receipt to my contacts, otherwise ignore"
)

type AutoSaveDraftIntervalOption int

const (
	AutoSaveDraftIntervalOptionNever     AutoSaveDraftIntervalOption = 0
	AutoSaveDraftIntervalOption30Seconds AutoSaveDraftIntervalOption = 30
	AutoSaveDraftIntervalOption1Minute   AutoSaveDraftIntervalOption = 60
	AutoSaveDraftIntervalOption3Minutes  AutoSaveDraftIntervalOption = 180
	AutoSaveDraftIntervalOption5Minutes  AutoSaveDraftIntervalOption = 300
	AutoSaveDraftIntervalOption10Minutes AutoSaveDraftIntervalOption = 600
)

type EmailReplyOption string

const (
	EmailReplyOptionDoNotQuote EmailReplyOption = "Do not quote the original message"
	EmailReplyOptionBelowQuote EmailReplyOption = "Place my reply below the original message"
	EmailReplyOptionAboveQuote EmailReplyOption = "Place my reply above the original message"
)

type MessageForwardingOption string

const (
	MessageForwardingOptionAsAttachment MessageForwardingOption = "As attachment"
	MessageForwardingOptionInline       MessageForwardingOption = "Inline"
)

type EmailHTMLFontFamilyOption string

const (
	EmailHTMLFontFamilyOptionAndaleMono    EmailHTMLFontFamilyOption = "Andale Mono"
	EmailHTMLFontFamilyOptionArial         EmailHTMLFontFamilyOption = "Arial"
	EmailHTMLFontFamilyOptionArialBlack    EmailHTMLFontFamilyOption = "Arial Black"
	EmailHTMLFontFamilyOptionBookAntiqua   EmailHTMLFontFamilyOption = "Book Antiqua"
	EmailHTMLFontFamilyOptionComicSansMS   EmailHTMLFontFamilyOption = "Comic Sans MS"
	EmailHTMLFontFamilyOptionCourierNew    EmailHTMLFontFamilyOption = "Courier New"
	EmailHTMLFontFamilyOptionGeorgia       EmailHTMLFontFamilyOption = "Georgia"
	EmailHTMLFontFamilyOptionHelvetica     EmailHTMLFontFamilyOption = "Helvetica"
	EmailHTMLFontFamilyOptionImpact        EmailHTMLFontFamilyOption = "Impact"
	EmailHTMLFontFamilyOptionTahoma        EmailHTMLFontFamilyOption = "Tahoma"
	EmailHTMLFontFamilyOptionTerminal      EmailHTMLFontFamilyOption = "Terminal"
	EmailHTMLFontFamilyOptionTimesNewRoman EmailHTMLFontFamilyOption = "Times New Roman"
	EmailHTMLFontFamilyOptionTrebuchetMS   EmailHTMLFontFamilyOption = "Trebuchet MS"
	EmailHTMLFontFamilyOptionVerdana       EmailHTMLFontFamilyOption = "Verdana"
)

type EmailHTMLFontSizeOption int

const (
	EmailHTMLFontSizeOption8Pt  EmailHTMLFontSizeOption = 8
	EmailHTMLFontSizeOption9Pt  EmailHTMLFontSizeOption = 9
	EmailHTMLFontSizeOption10Pt EmailHTMLFontSizeOption = 10
	EmailHTMLFontSizeOption11Pt EmailHTMLFontSizeOption = 11
	EmailHTMLFontSizeOption12Pt EmailHTMLFontSizeOption = 12
	EmailHTMLFontSizeOption14Pt EmailHTMLFontSizeOption = 14
	EmailHTMLFontSizeOption16Pt EmailHTMLFontSizeOption = 16
	EmailHTMLFontSizeOption18Pt EmailHTMLFontSizeOption = 18
	EmailHTMLFontSizeOption24Pt EmailHTMLFontSizeOption = 24
	EmailHTMLFontSizeOption36Pt EmailHTMLFontSizeOption = 36
)

type EmailSignatureOption string

const (
	EmailSignatureOptionAlways         EmailSignatureOption = "Always"
	EmailSignatureOptionNever          EmailSignatureOption = "Never"
	EmailSignatureOptionForNewMessages EmailSignatureOption = "For new messages only"
	EmailSignatureOptionForReplies     EmailSignatureOption = "For replies and forwards only"
)

type EmailAttachementNameStyleOption string

const (
	EmailAttachementNameStyleOptionThunderbird EmailAttachementNameStyleOption = "Full RFC 2231 (Thunderbird)"
	EmailAttachementNameStyleOptionOutlook     EmailAttachementNameStyleOption = "RFC 2047/2231 (Outlook)"
	EmailAttachementNameStyleOptionOther       EmailAttachementNameStyleOption = "Full RFC 2231 (Other)"
)

type ContactDisplayOption string

const (
	ContactDisplayOptionDisplayName             ContactDisplayOption = "Display Name"
	ContactDisplayOptionFirstLast               ContactDisplayOption = "First Last"
	ContactDisplayOptionLastFirst               ContactDisplayOption = "Last First"
	ContactDisplayOptionLastFirstCommaSeparated ContactDisplayOption = "Last, First"
)

type ContactSortingOption string

const (
	ContactSortingOptionFirstName   ContactSortingOption = "First Name"
	ContactSortingOptionLastName    ContactSortingOption = "Last Name"
	ContactSortingOptionDisplayName ContactSortingOption = "Display Name"
)

type ClearTrashOnLogoutOption string

const (
	ClearTrashOnLogoutOptionNever           ClearTrashOnLogoutOption = "Never"
	ClearTrashOnLogoutOptionAllMessages     ClearTrashOnLogoutOption = "All messages"
	ClearTrashOnLogoutOptionOlderThan30Days ClearTrashOnLogoutOption = "Messages older than 30 days"
	ClearTrashOnLogoutOptionOlderThan60Days ClearTrashOnLogoutOption = "Messages older than 60 days"
	ClearTrashOnLogoutOptionOlderThan90Days ClearTrashOnLogoutOption = "Messages older than 90 days"
)