Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SRC is the @SRC parent label for all @SRC labels. SRC = gmail.Label{ Name: "@SRC", LabelListVisibility: "labelShow", MessageListVisibility: "hide", Color: &gmail.LabelColor{ BackgroundColor: "#4986e7", TextColor: "#ffffff", }, } // Jobs is the @SRC/Jobs folder for all @SRC job labels. Jobs = gmail.Label{ Name: SRC.Name + "/Jobs", MessageListVisibility: "hide", Color: SRC.Color, } // JobsOpportunity is the @SRC/Jobs/Opportunity label for identified job opportunities. JobsOpportunity = gmail.Label{ Name: Jobs.Name + "/Opportunity", MessageListVisibility: "show", Color: Jobs.Color, } // Allow is the @SRC/Allow folder for senders and domains that always bypass SRC Allow = gmail.Label{ Name: SRC.Name + "/Allow", MessageListVisibility: "hide", Color: &gmail.LabelColor{ BackgroundColor: "#16a765", TextColor: "#ffffff", }, } // AllowSender is the @SRC/Allow/Sender folder for senders that always bypass SRC AllowSender = gmail.Label{ Name: Allow.Name + "/Sender", MessageListVisibility: "show", Color: Allow.Color, } // AllowDomain is the @SRC/Allow/Domain folder for email domains that always bypass SRC AllowDomain = gmail.Label{ Name: Allow.Name + "/Domain", MessageListVisibility: "show", Color: Allow.Color, } // Block is the @SRC/Allow folder for senders and domains that are automatically removed from your inbox. // Blocked emails are not analyzed by SRC. Block = gmail.Label{ Name: SRC.Name + "/Block", MessageListVisibility: "hide", Color: &gmail.LabelColor{ BackgroundColor: "#cc3a21", TextColor: "#ffffff", }, } // BlockSender is the @SRC/Block/Sender folder for senders that are automatically removed from your inbox. // Blocked emails are not analyzed by SRC. BlockSender = gmail.Label{ Name: Block.Name + "/Sender", MessageListVisibility: "show", Color: Block.Color, } // BlockDomain is the @SRC/Block/Domain folder for email domains that are automatically removed from your inbox. // Blocked emails are not analyzed by SRC. BlockDomain = gmail.Label{ Name: Block.Name + "/Domain", MessageListVisibility: "show", Color: Block.Color, } // BlockGraveyard is the @SRC/Block/Graveyard folder for emails that have been removed from your inbox. // Blocked emails are not be analyzed by SRC. BlockGraveyard = gmail.Label{ Name: Block.Name + "/🪦", MessageListVisibility: "show", Color: Block.Color, } )
Functions ¶
This section is empty.
Types ¶
type Labels ¶
type Labels struct { // SRC is the @SRC parent label for all @SRC labels. SRC *gmail.Label // Jobs is the @SRC/Jobs folder for all @SRC job labels. Jobs *gmail.Label // JobsOpportunity is the @SRC/Jobs/Opportunity label for identified job opportunities. JobsOpportunity *gmail.Label // Allow is the @SRC/Allow folder for senders and domains that always bypass SRC Allow *gmail.Label // AllowSender is the @SRC/Allow/Sender folder for senders that always bypass SRC AllowSender *gmail.Label // AllowDomain is the @SRC/Allow/Domain folder for email domains that always bypass SRC AllowDomain *gmail.Label // Block is the @SRC/Allow folder for senders and domains that are automatically removed from your inbox. // Blocked emails are not analyzed by SRC. Block *gmail.Label // BlockSender is the @SRC/Block/Sender folder for senders that are automatically removed from your inbox. // Blocked emails are not analyzed by SRC. BlockSender *gmail.Label // BlockDomain is the @SRC/Block/Domain folder for email domains that are automatically removed from your inbox. // Blocked emails are not analyzed by SRC. BlockDomain *gmail.Label // BlockGraveyard is the @SRC/Block/🪦 folder for emails that have been removed from your inbox. // Blocked emails are not be analyzed by SRC. BlockGraveyard *gmail.Label }
Labels contains all labels managed by @SRC. IDs are unique per gmail account. The rest of the fields should be the same across all accounts.
Click to show internal directories.
Click to hide internal directories.