Crate cull_gmail

Crate cull_gmail 

Source
Expand description

§cull-gmail Library Documentation

The cull-gmail library provides types to enable the culling of emails using the Gmail API including the following steps:

  • login to get authorization
  • backup the mailbox
  • filtered lists of the contents
  • move email matching a filtered list to trash

§Installation

Add the library to your program’s Cargo.toml using cargo add:

$ cargo add cull-gmail

Or by configuring the dependencies manually in Cargo.toml:

[dependencies]
cull-gmail = "0.0.4"

Structs§

Credential
Struct for google credentials
Labels
Struct to capture configuration for List API call.
MessageList
Struct to capture configuration for List API call.
Trash
Struct for trashing messages

Enums§

Error
Error messages for cull-gmail

Constants§

DEFAULT_MAX_RESULTS
Default for the maximum number of results to return on a page