Skip to main content
The Deno 2 Release Candidate is here
Learn more

builds.sr.ht status GitHub mirror

Migadu

A Deno module that can access Migadu’s API.

There is also an CLI available. More documentaion is coming.

The following is not yet implemented:

Usage

Warning


Use at own risk. There are no confirmations when deleting mailboxes and identities

Remember to set environment variables:

  • MIGADU_DOMAIN
  • MIGADU_USER
  • MIGADU_USER_TOKEN

List all mailboxes

import { Mailbox } from "https://deno.land/x/migadu/mod.ts";

const mailboxes = await Mailbox.list("example.org");
console.log(mailboxes);

CLI

Note


You cannot update a mailbox or identity, yet. This is work in progress.

Installation

deno install -A https://deno.land/x/migadu/src/cli/cli.ts \
  -n migadu

Usage

# List all mailboxes for domain
migadu mbox list --domain example.org

# Get mailbox from domain
migadu mbox get myName --domain example.org

# See help for all available commands
migadu --help