internal/

directory
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: Apache-2.0

Directories

Path Synopsis
Package audit appends one JSON line per write operation (and per policy denial) to audit.jsonl in the state directory.
Package audit appends one JSON line per write operation (and per policy denial) to audit.jsonl in the state directory.
Package auth stores account metadata and provider tokens, and enforces the account lock (the mailbox a token belongs to must match the one recorded at login).
Package auth stores account metadata and provider tokens, and enforces the account lock (the mailbox a token belongs to must match the one recorded at login).
oauthflow
Package oauthflow runs the browser half of an OAuth 2.0 authorization code + PKCE login for a public client.
Package oauthflow runs the browser half of an OAuth 2.0 authorization code + PKCE login for a public client.
Package cli wires cobra commands to the service layer.
Package cli wires cobra commands to the service layer.
Package errs defines the CLI's typed errors and their exit codes.
Package errs defines the CLI's typed errors and their exit codes.
Package hermes connects email to a Hermes agent: it writes the skill and the webhook route script into HERMES_HOME, seeds the triage cron job through the `hermes` CLI, and renders the watch service and the config.yaml snippet.
Package hermes connects email to a Hermes agent: it writes the skill and the webhook route script into HERMES_HOME, seeds the triage cron job through the `hermes` CLI, and renders the watch service and the config.yaml snippet.
Package mailmime writes and reads RFC 5322 / MIME messages for the providers that deal in raw messages (gmail drafts, imap).
Package mailmime writes and reads RFC 5322 / MIME messages for the providers that deal in raw messages (gmail drafts, imap).
Package policy is the gate every operation passes through.
Package policy is the gate every operation passes through.
Package provider defines the unified mail model and the capability interfaces that each backend (msgraph, gmail, imap, fake) implements.
Package provider defines the unified mail model and the capability interfaces that each backend (msgraph, gmail, imap, fake) implements.
fake
Package fake is an in-memory provider for tests and for trying the CLI without a real mailbox.
Package fake is an in-memory provider for tests and for trying the CLI without a real mailbox.
gmail
Package gmail implements the provider interfaces on the Gmail REST API (Google Workspace accounts), with OAuth auth code + PKCE login.
Package gmail implements the provider interfaces on the Gmail REST API (Google Workspace accounts), with OAuth auth code + PKCE login.
imap
Package imap is the provider for mailboxes reached over IMAP and SMTP with a password: personal Gmail with an app password, or any IMAP server.
Package imap is the provider for mailboxes reached over IMAP and SMTP with a password: personal Gmail with an app password, or any IMAP server.
msgraph
Package msgraph implements the provider interfaces on Microsoft Graph (Microsoft 365 / Exchange Online) with delegated, device-code auth.
Package msgraph implements the provider interfaces on Microsoft Graph (Microsoft 365 / Exchange Online) with delegated, device-code auth.
Package service is the layer between the CLI and providers.
Package service is the layer between the CLI and providers.
Package watch is `email watch`: a long-running process that waits for new mail and wakes the agent with one HTTP notification per batch, so the agent spends no tokens while nothing arrives.
Package watch is `email watch`: a long-running process that waits for new mail and wakes the agent with one HTTP notification per batch, so the agent spends no tokens while nothing arrives.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL