Package account implements the provider account backend.
Account is a Provider account and it's associated client instance.
Deref decrements the reference count of the Account. If the reference count reaches 0, the Account will be torn down and removed from it's associated Store.
EnqueueKaetzchenRequest enqueues a Katzchen request for transmission.
Note: Kaetzchen requests are treated as "urgent" and will skip to the head of the transmit queue. Additonally, the requests are considered one-shot and not retransmitted.
EnqueueMessage enqueues a message for transmission.
GetID returns the Account.id user@provider string
IsConnected returns true iff the account is connected.
ReceivePeekPop returns the eldest message in the receive queue, the sender's public key, and a unique identifier, optionally after removing the message from the queue.
StoreReport stores a locally generated report directly in the account's receive spool.
Recipient is a outgoing recipient.
Store is a group of Account instances.
NewStore constructs a new Store instance.
Get returns the Account identified by id, after incrementing the reference count.
NewSession creates a new pop3.BackendSession backed by the specified user, where the user is of the form `user@provider`.
Reset clears the existing Store instance, terminating clients associated with each account entry.
Set sets the Account identified by id, to a new Account parameterised by the provided config.Account cfg.