PopSettings

POP settings for an account.

JSON representation
{
  "accessWindow": enum (AccessWindow),
  "disposition": enum (Disposition)
}
Fields
accessWindow

enum (AccessWindow)

The range of messages which are accessible via POP.

disposition

enum (Disposition)

The action that will be executed on a message after it has been fetched via POP.

AccessWindow

A range of messages that are accessible via POP.

Enums
ACCESS_WINDOW_UNSPECIFIED Unspecified range.
DISABLED Indicates that no messages are accessible via POP.
FROM_NOW_ON Indicates that unfetched messages received after some past point in time are accessible via POP.
ALL_MAIL Indicates that all unfetched messages are accessible via POP.

Disposition

Specifies what Gmail should do with a message after it has been fetched via POP.

Enums
DISPOSITION_UNSPECIFIED Unspecified disposition.
LEAVE_IN_INBOX Leave the message in the INBOX.
ARCHIVE Archive the message.
TRASH Move the message to the TRASH.
MARK_READ Leave the message in the INBOX and mark it as read.