Skip to content
Guido Krömer edited this page Jan 27, 2014 · 1 revision

The email accounts are stored encrypted in the database, this means a key for decrypting one or many accounts has to be provided with each request like in the password API.

GET api/1/mail/:key/account

Get all accounts.

POST api/1/mail/:key/account

Add a new account.

GET api/1/mail/:key/account/:id

Get a account specified by its id.

PUT api/1/mail/:key/account/:id

Edit a account specified by its id.

DELETE api/1/mail/:key/account/:id

Remove a account specified by its id.

GET api/1/mail/:key/account/:id/mailbox

List all mailboxes form the given mail account.

GET api/1/mail/:key/account/:id/mailbox/:mailBox

List all email headers from the accounts mailbox.

GET api/1/mail/:key/account/:id/mailbox/:mailBox/mail/:uniqueId

Get a complete mail specified by its unique id from the given account mailbox.

DELETE api/1/mail/:key/account/:id/mailbox/:mailBox/mail/:uniqueId

Delete a email specified by its unique id from the given account mailbox.

POST api/1/mail/:key/account/:id/send

Send a email with the given account SMTP data.

Clone this wiki locally