~timharek/migadu-deno

Deno module for Migaud's API.
docs: Use correct headings
docs: Add more links

clone

read-only
https://git.sr.ht/~timharek/migadu-deno
read/write
git@git.sr.ht:~timharek/migadu-deno

You can also use your local clone with git send-email.

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