Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

sylphx notify mailboxes

Every sylphx notify mailboxes command: its argument, its flags and a run line.

The mailboxes commands of Sylphx Notify, as the CLI spells them: the same calls as the mailboxes API page, typed for the shell. Install, sign in and the grammar are on the CLI index.

#get

Gets a mailbox.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx notify mailboxes get orgs/acme/projects/shop/envs/production/mailboxes/mailbox

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox · scope notify:read · effect read · Request, response and examples

#list

Lists mailboxes.

PARENT — optional: the CLI fills it from the linked project or the key's scope when it is left out.

CLI

Shell
sylphx notify mailboxes list orgs/acme/projects/shop/envs/production

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes · scope notify:read · effect read · Request, response and examples

Flags

FlagTypeWhat it does
--page-sizeintAt most this many; default 50, clamped to 1000.
--page-tokenstringnext_page_token of the previous page.
--filterstringAIP-160 filter over labels and filterable fields.
--order-bystringAIP-132 ordering over filterable fields.

#create

Creates a mailbox.

ID — The id segment of the new Resource's name; the server assigns one when omitted.

CLI

Shell
sylphx notify mailboxes create --parent orgs/acme/projects/shop/envs/production --spec.kind connected --spec.address …

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes · scope notify:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--parentstringThe parent to create in; defaults to the linked project or the key's scope.
--meta.labelskey=valueCaller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value.
--meta.annotationskey=valueCaller-writable, unindexed annotations. Repeat the flag for each value.
--meta.display-namestringCaller-writable human-readable name.
--spec.kindenumConnected or hosted. Required. One of connected, hosted.
--spec.addressstringThe address, for example support@example.com. Required.
--spec.display-namestringThe From display name of mail sent as this mailbox.
--spec.imap.hoststringThe host name.
--spec.imap.portintThe port; IMAP 993 and SMTP 465 when unset.
--spec.imap.usernamestringThe login user; the mailbox address when unset.
--spec.imap.securityenumHow the connection is secured. One of tls, starttls.
--spec.smtp.hoststringThe host name.
--spec.smtp.portintThe port; IMAP 993 and SMTP 465 when unset.
--spec.smtp.usernamestringThe login user; the mailbox address when unset.
--spec.smtp.securityenumHow the connection is secured. One of tls, starttls.
--spec.passwordstringThe login password of both servers; write-only, sealed at rest. The value is never returned.
--spec.append-sentboolSave a copy of mail sent as this mailbox to its Sent folder (IMAP APPEND); off when the provider saves one itself.
--spec.backfill-start-timetimestampRead mail received on or after this day on the first poll.
--spec.enabledboolPoll and send; a disabled mailbox keeps its records.
--dry-runboolValidate and print the result without writing (validate_only).

#update

Updates a mailbox.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx notify mailboxes update orgs/acme/projects/shop/envs/production/mailboxes/mailbox

PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox · scope notify:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--meta.labelskey=valueCaller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value.
--meta.annotationskey=valueCaller-writable, unindexed annotations. Repeat the flag for each value.
--meta.display-namestringCaller-writable human-readable name.
--spec.display-namestringThe From display name of mail sent as this mailbox.
--spec.imap.hoststringThe host name.
--spec.imap.portintThe port; IMAP 993 and SMTP 465 when unset.
--spec.imap.usernamestringThe login user; the mailbox address when unset.
--spec.imap.securityenumHow the connection is secured. One of tls, starttls.
--spec.smtp.hoststringThe host name.
--spec.smtp.portintThe port; IMAP 993 and SMTP 465 when unset.
--spec.smtp.usernamestringThe login user; the mailbox address when unset.
--spec.smtp.securityenumHow the connection is secured. One of tls, starttls.
--spec.passwordstringThe login password of both servers; write-only, sealed at rest. The value is never returned.
--spec.append-sentboolSave a copy of mail sent as this mailbox to its Sent folder (IMAP APPEND); off when the provider saves one itself.
--spec.backfill-start-timetimestampRead mail received on or after this day on the first poll.
--spec.enabledboolPoll and send; a disabled mailbox keeps its records.
--allow-missingboolCreate the mailbox when it does not exist (declarative upsert).
--dry-runboolValidate and print the result without writing (validate_only).

#delete

Deletes a mailbox and its inbound email.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx notify mailboxes delete orgs/acme/projects/shop/envs/production/mailboxes/mailbox --yes

DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox · scope notify:write · effect destructive · Request, response and examples

Flags

FlagTypeWhat it does
--etagstringDelete only if the current etag matches.
--allow-missingboolSucceed when the mailbox does not exist.
--dry-runboolValidate and print the result without writing (validate_only).
--forceboolDelete its inbound email with it; a mailbox holding inbound email is not deleted without it.
--yesboolDo not ask before this destructive call.

#erase-address

Removes an address's personal data from every inbound email of the mailbox that it sent or that names it, keeping the dedupe keys so a poll never brings the mail back.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx notify mailboxes erase-address orgs/acme/projects/shop/envs/production/mailboxes/mailbox --yes

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox:eraseAddress · scope notify:write · effect destructive · Request, response and examples

Flags

FlagTypeWhat it does
--addressstringThe email address whose data is removed. Required.
--yesboolDo not ask before this destructive call.