Skip to content

Microservice to provide information about IMAP mailbox via HTTP

Notifications You must be signed in to change notification settings

watchdogpolska/mailbox-status

Repository files navigation

mailbox-status

Build Status Docker Repository on Quay

A stateless service designed to provide information about selected mailboxes in the field of eg. the number of messages, the quota.

Configuration

Configuration takes place via environment variables. The following environment variables are supported:

Name Description
MAILBOX_*_URL URL connection to access mailbox. Example imap+ssl://user:pass@localhost/
MAILBOX_*_FOLDER Comma seperated list of folders to count messages.

It is worth noting that the detailed scope of information will depend on the mailbox provider.

Example response

{
  "hekko": {
    "quota": {},
    "folders": {
      "INBOX": 0
    }
  },
  "feder": {
    "quota": {
      "user": {
        "storage": {
          "usage": 3571343,
          "limit": 5242880
        }
      }
    },
    "folders": {
      "INBOX": 0
    }
  }
}

About

Microservice to provide information about IMAP mailbox via HTTP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published