SDKs
Each SDK signs in with your recovery phrase or an API key, creates addresses that receive mail, opens what arrives, sends with attachments, and listens for events. The keys are derived from the phrase on your machine; the phrase is never sent.
| Language | Package | Install | |
|---|---|---|---|
| TypeScript | mailcycle-sdk on npm | npm install mailcycle-sdk | Available |
| Python | mailcycle on PyPI | pip install mailcycle | Available |
| Go | mailcycle.email/go | go get mailcycle.email/go | Available |
| Rust | mailcycle on crates.io | cargo add mailcycle | Available |
| Swift | mailcycle.email/swift/mailcycle.git | .package(url: "https://mailcycle.email/swift/mailcycle.git", from: "0.1.0") | Available |
| PHP | mailcycle/mailcycle on Mailcycle’s Composer repository | composer require mailcycle/mailcycle | Available |
| Java | email.mailcycle:mailcycle on Maven Central | implementation("email.mailcycle:mailcycle:0.3.0") | Available |
| .NET | Mailcycle on NuGet | dotnet add package Mailcycle | Available |
| Ruby | mailcycle on RubyGems | gem install mailcycle | Available |
The Swift line goes in the dependencies of your Package.swift. For PHP, add the repository first with composer config repositories.mailcycle composer https://mailcycle.email/php. The Java line is for Gradle; with Maven, the guide has the <dependency> block.
All of them implement the same encryption format and are checked against the same test vectors, so mail sealed by one opens in any other and in the apps.
Another language
Section titled “Another language”The encryption format is published, so you can write a client now rather than wait. Plain HTTP calls also work without any SDK for everything except opening mail and creating addresses that receive it: see Authentication and Email addresses.
© Northlab Studios Ltd, trading as Mailcycle. Registered in England and Wales, company no. 17462734. Registered office: 167-169 Great Portland Street, London W1W 5PF.