Changelog

Email

Release notes for aice-email and @aiceafrica/email.

Python: aice-email

0.1.0 (unreleased)

First release.

Added

  • EmailClient and AsyncEmailClient covering the Email Service: senders, recipients (lookup, bulk, batch-get, audited reveal, history, GDPR delete), groups, imports, templates, drafts, campaigns, threads, messages, suppressions, stats, audit logs and per-user preferences.
  • client.mailbox: the owner's side of connected mailboxes (a user's own Gmail or Zoho inbox that agents read, triage and draft replies in). Needs EMAIL_MAILBOX_ENABLED on the service.
    • mailbox.connections: start(provider, capabilities=, return_url=), confirm(completion), list, get, update(policy=, allowed_agent_ids=), disconnect, access_log.
    • mailbox.drafts: list, get (with content_hash), update(body=), approve(content_hash=), reject.
    • mailbox.actions: list, approve_batch, reject_batch, undo_batch, undo, undo_run.
    • mailbox.discover(email), and the admin switch mailbox.disable_all() / enable_all().
  • List parameters (recipients.bulk, recipients.batch_get, groups.add_members, groups.remove_members) accept any sequence.

Notes

  • Sends (drafts.send, campaigns.create, threads.send, threads.reply) carry an automatic Idempotency-Key, which the service de-duplicates on, or your own idempotency_key=. Creates the service doesn't de-duplicate, and mailbox approve, reject, undo and confirm, are sent once and never retried.
  • Requires aice-core>=0.3.1,<0.4.

TypeScript: @aiceafrica/email

0.1.0 (unreleased)

First release.

Added

  • EmailClient covering every Email Service endpoint, the same resources as aice-email: senders (with reply_to), recipients, groups, imports, templates, drafts, campaigns, threads, messages, suppressions, stats, audit logs and preferences.
  • email.mailbox: the owner's side of connected mailboxes (a user's own Gmail or Zoho inbox that agents read, triage and draft replies in; needs EMAIL_MAILBOX_ENABLED on the service):
    • connections.start / confirm / list / get / update / disconnect / accessLog;
    • drafts.list / get / update / approve(draftId, contentHash) / reject;
    • actions.list / approveBatch / rejectBatch / undoBatch / undo / undoRun;
    • discover, disableAll, enableAll.
  • Types: Json, Page, MailboxPolicy.
  • VERSION, this package's version.
  • Sends (drafts.send, campaigns.create, threads.send, threads.reply) keep the automatic Idempotency-Key and accept your own idempotencyKey. Creates the service doesn't de-duplicate yet, and mailbox approve, reject, undo and confirm, are attempted once (idempotencyKey: null).
  • Needs @aiceafrica/core 0.4.

On this page