AI Assistants (MCP)
MCP Server
New: Use Ark with Claude, Cursor, VS Code, and other AI assistants. Send emails using natural language — no code required.
Language SDKs
Python
pip install ark-email — Python 3.9+ with async supportNode.js
npm install ark-email — TypeScript-first with full typesRuby
gem install ark-email — Ruby 3.2+ with Sorbet typesGo
go get github.com/ArkHQ-io/ark-go — Go 1.22+Quick Installation
- Python
- Node.js
- Ruby
- Go
Send Your First Email
- Python
- Node.js
- Ruby
- Go
SDK Features
All official Ark SDKs share these capabilities:Full Type Safety
Full Type Safety
Every SDK includes complete type definitions. Python has full type hints, Node.js has TypeScript definitions, Ruby has Sorbet RBI files, and Go has native types.Your IDE will provide autocomplete, inline documentation, and catch errors before runtime.
Automatic Retries
Automatic Retries
SDKs automatically retry failed requests with exponential backoff for:
- Connection errors
- 408 Request Timeout
- 409 Conflict
- 429 Rate Limit
- 5xx Server Errors
Configurable Timeouts
Configurable Timeouts
Default timeout is 60 seconds. Customize globally or per-request:
- Python
- Node.js
- Ruby
- Go
Error Handling
Error Handling
SDKs throw typed exceptions for different error scenarios:
| Status | Exception |
|---|---|
| 400 | BadRequestError |
| 401 | AuthenticationError |
| 403 | PermissionDeniedError |
| 404 | NotFoundError |
| 422 | UnprocessableEntityError |
| 429 | RateLimitError |
| 5xx | InternalServerError |
| Network | APIConnectionError |
Raw Response Access
Raw Response Access
Access HTTP headers, status codes, and raw response data when needed:
- Python
- Node.js
- Go
Debug Logging
Debug Logging
Enable debug logging to troubleshoot issues:Or in code:
- Python
- Node.js
Async Support
- Python
- Node.js
- Ruby
- Go
Source Code & Issues
All SDKs are open source. Report issues or contribute:| SDK | Repository | License |
|---|---|---|
| Python | github.com/ArkHQ-io/ark-python | Apache-2.0 |
| Node.js | github.com/ArkHQ-io/ark-nodejs | Apache-2.0 |
| Ruby | github.com/ArkHQ-io/ark-ruby | Apache-2.0 |
| Go | github.com/ArkHQ-io/ark-go | Apache-2.0 |
