Skip to content

feat(communication): add smtp2go connector#320

Open
andrei-hasna wants to merge 1 commit into
mainfrom
station02-claude/open-connectors/912bfab2-43f5-4053-bc8e-41bfe68d6c9d-de249e10
Open

feat(communication): add smtp2go connector#320
andrei-hasna wants to merge 1 commit into
mainfrom
station02-claude/open-connectors/912bfab2-43f5-4053-bc8e-41bfe68d6c9d-de249e10

Conversation

@andrei-hasna

Copy link
Copy Markdown
Contributor

Summary

Adds a first-class SMTP2GO connector as @hasna/connect-smtp2go under connectors/smtp2go, rebuilt from the public SMTP2GO v3 API docs (https://developers.smtp2go.com/) — no platform-alumia code was copied.

Details

  • Transport (src/api/client.ts): SMTP2GO v3 is POST-only with a { request_id, data } envelope. Auth via X-Smtp2go-Api-Key header with api_key body fallback; retry/backoff for 429/5xx; timeout; envelope unwrapping; typed Smtp2goApiError.
  • API (src/api/index.ts): email send/mime/search, activity search, delivery stats (summary, bounces, cycle, history, spam, unsubscribes), suppressions, sender domains, single senders, and smtp-user management. Only documented endpoints are exposed.
  • CLI (src/cli/index.ts): Commander entrypoints with multi-profile config (~/.hasna/connectors/connect-smtp2go), pretty/json/table output.
  • Registry: adds the smtp2go entry to the Communication category.
  • Placeholder-only .env.example; no secrets, internal references, or browser-use/scraper dependency (commander + chalk only).

Validation

  • bun run typecheck
  • bun test (connector) — 6 pass ✓
  • bun run build
  • bun test src/lib/registry.test.ts (root) — 28 pass ✓

🤖 Generated with Claude Code

Add a first-class SMTP2GO v3 API connector rebuilt from the public docs
(https://developers.smtp2go.com/). Every endpoint is a POST returning a
{ request_id, data } envelope; auth via X-Smtp2go-Api-Key with api_key body
fallback. Covers email send/mime/search, activity search, delivery stats,
suppressions, sender domains, single senders, and SMTP users, with a Commander
CLI, multi-profile config, retry/backoff transport, and a fetch-mock client test.
Registers the connector under the Communication category.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant