Versions in this module Expand all Collapse all v0 v0.1.1 Aug 21, 2026 v0.1.0 Aug 19, 2026 Changes in this version + type Client struct + func New(ctx context.Context, ts oauth2.TokenSource) (*Client, error) + func (c *Client) Account() string + func (c *Client) Attachment(ctx context.Context, msgID, attachmentID string) ([]byte, error) + func (c *Client) Labels(ctx context.Context) ([]mail.Label, error) + func (c *Client) Modify(ctx context.Context, threadIDs []string, add, remove []string) error + func (c *Client) Name() string + func (c *Client) Send(ctx context.Context, d mail.Draft) error + func (c *Client) Thread(ctx context.Context, id string) ([]mail.Message, error) + func (c *Client) Threads(ctx context.Context, q mail.ThreadQuery) (mail.ThreadPage, error)