Skip to content
JocelynDelalande edited this page Oct 28, 2015 · 7 revisions

Technical documentation

Adding Mailboxes

Note: The primary way to do this, is to use the Browse tool from the Accounts (Home) page in the app. If you would rather do it by hand on the CLI, see below.

  1. Add mailbox mailpile> add your@account.com /path/to/your/something.mbox

This will add the mailbox to your Pile, associating it with the specified account (which should already exist).

Once that is done importing the new mailbox you just added, you may want to apply some tags. Do that by the following commands

  1. Add the tag "Custom Tag" mailpile> tags/add "Custom Tag"
  2. Search for that mailbox mailpile> search mailbox:something.mbox
  3. Tag that search with "Custom Tag" mailpile> tag +custom-tag all

There you go, now that mail will show up in your Mailpile under the new tag.

Deleting Mailboxes

Currently to make entire mailboxes disappear is a bit of a hack:

Deleting mailbox content (mails)

  1. Search for that mailbox mailpile> search mailbox:something.mbox
  2. Tag that search as Trash mailpile> tag -inbox +trash all

Deleting the mailbox itself

  1. Find the ID of the mailbox mailpile> print sys.mailbox
  2. Replace the mailbox path: mailpile> set sys.mailbox.1234 = /dev/null

(Replace 1234 in step 4, with the ID found in step 3.)

Clone this wiki locally