Webapp Instructions

Getting Started

To log in, open the webapp by opening the IP address of your server with the port of the application, by default 1122. Eonvelope will force you to use HTTPS using its certificate, so the url must start with https://.

You can install Eonvelope as a progressive-webapp on your device to use it like a regular app. The way you can do this depends on your browser.

Registration

If your administrator has activated the self registration, you can register yourself via the login page /users/login/.

Alternatively you can also do so via the API.

If not, please contact your admin so they can create an user account for you.

Setting Up A New Mailaccount

Adding A New Mailaccount

You can add a new mailaccount at /accounts/create/, which you can also reach via the button on the dashboard or the accounts page.

Fill out the form with the credentials of the account, the fields marked with a * are mandatory. In case you have set up two-factor-authentication for your mailaccount, you need an app-password (can be created in the settings of your email account) in lieu of a your plain password.

Note

JMAP allows authentication via a API-token. To use this option, omit the username and put the token as password.

You can find the information about mailserver-URL, protocol, port in the documentation of your email provider. The following protocols are supported:

  • IMAP4

  • IMAP4 (unencrypted)

  • POP3

  • POP3 (unencrypted)

  • Microsoft Exchange

  • JMAP

Note

If possible, use IMAP. This enables you to use the most features with the most security.

Note

Please do not use the unencrypted version unless all other options fail. They are only implemented for backward compatibility.

The mailserver URL does not need to feature a protocol, the (sub)domain name is fine e.g. imap.mydomain.tld. If you don’t set the mailserver port, the default port of the protocol is used.

Note

If you use Exchange you can specify a full URL path starting with http(s):// to the service endpoint as mailserver-URL. In that case the port setting is not used as the port should already be part of that URL.

Note

The Exchange autodiscover mechanism is not implemented in Eonvelope. If you don’t know your exact exchange mailserver URL, either ask your admin, try to look up the address from autodiscover in your outlook client (various instructions exist online) or you can try your luck with the official analyser tool.

If you don’t set a timeout value, the default value of 10 seconds is used. For IMAP and POP this means that if a request to the mailserver takes longer than the timeout value, the request is treated as if the server was unavailable. If you know the mailserver of an account to be slow, you can set a larger value.

For Exchange this enables a retry and faulttolerance logic timing out after the given value.

Unfortunately, JMAP doesn’t use the timeout value at this point. Just keep the default until further notice.

Don’t use larger timeout values than 60 seconds, as this may significantly impact the runtime of individual fetch operations and may at worst delay the archiving schedule. The minimal accepted timeout value is 0.1.

If the host of the account serves content over https with a self-signed certificate, you can enable allow_insecure_connection.

Note

This setting is only available if the admin enables it. It has no effect for unencrypted IMAP4 and POP3 accounts as they don’t use TLS anyway.

When you submit the data to add the account, Eonvelope will test whether it can access this account with the given information. In case this is not possible, you will get feedback about the problem that occurred. If the service is unknown, check the email server URL. In case of a failed authentication, check the credentials.

Mailbox Setup

When the account is set up successfully, the mailboxes in the mailaccount are fetched and stored.

Depending on the settings made by your admin, not all mailboxes in your account may be present. By default, mailboxes for spammails are excluded to avoid archiving malicious content.

If you add or change a mailbox in that account later on, you can use the fetch mailboxes button in the overview of the account or the equivalent API endpoint to update the mailboxes that are known to Eonvelope.

Note

For POP mailaccounts, there is only a single mailbox, the ‘INBOX’.

Tip

Updating mailboxes also updates the mailboxes health status. If many mailboxes in an account are marked as unhealthy, you can make use of this instead of testing them individually.

You can further configure a mailbox in its detail overview.

The available settings are define how the contents from the mailbox are saved. By default, the emails will be stored as .eml files. If you disable this, the full original message is not archived.

Additionally, you can configure whether files attached to the emails are stored. By default they will be saved.

When you have decided on these settings, go ahead and test the mailbox, just like you did with the account earlier.

Note

As the information about the mailbox is collected from the account itself, this should only fail if the mailbox has been deleted or renamed.

After a successful test, the option to fetch emails in the mailbox becomes available. You can choose the emails to fetch via a criterion. A list of these criteria can be found in the following section about routines.

Depending on the number of mailboxes this may take a while.

Routine Setup

If you want to fetch all email traffic passing through your mailaccount, you can set up routines for this purpose with the ‘add-routines’ button of the respective accounts page. The routines that will be automatically configured will scan your Inbox and Sent mailboxes for emails and archive them.

Note

The Inbox and Sent mailboxes are recognized by internal protocol flags, not by name. There is no need to rename your mailboxes in order to use Eonvelope.

Archiving all emails going in and out of your account allows you to make maximum use of Eonvelope’s feature to capture, archive and map complete conversations.

Additionally or alternatively you can set up routines that continuously query and fetch other individual mailboxes. The add-routine button on a mailbox’s page creates a new routine configuration and lets you modify it. Most important is the criterion setting and the period time of this routine.

There is a broad variety of criteria, not all are available for every email protocol. Some criteria require an additional value to filter by.

The following criteria without required value are available:

Criterion

Description

RECENT

Emails that have the RECENT flag set. This flag is set to newly received emails and is removed after the first time the mailaccount is accessed by a client. Suitable if the mailbox is fetched at a high frequency.

SEEN

Emails that have the SEEN flag set. This flag is set to newly received emails and is removed after the email has been requested by a client.

UNSEEN

Emails that do not have the SEEN flag set. This flag is set to newly received emails and is removed after the email has been requested by a client. Suitable if the mailbox is fetched at a high frequency.

ALL

All emails in the mailbox. Use with care.

NEW

Emails with RECENT and UNSEEN flag.

OLD

Emails that are not NEW.

FLAGGED

Emails that are flagged by the user. Suitable if you want to only fetch very particular, hand-selected emails.

UNFLAGGED

Emails that are not flagged by the user. Suitable if you want to exclude hand-selected emails.

DRAFT

Email drafts. Can be used to archive your drafts.

UNDRAFT

Emails that are not drafts.

ANSWERED

Emails that have been answered.

UNANSWERED

Emails that have not been answered.

DELETED

Emails that have been deleted. This typically concerns the trash mailbox.

UNDELETED

Emails that have never been deleted.

DAILY

Emails received the last day. Ideally used with a period time of about half a day.

WEEKLY

Emails received the last week. Ideally used with a period time of about half a week.

MONTHLY

Emails received the last month. Ideally used with a period time of about half a month.

ANNUALLY

Emails received the last year. Ideally used with a period time of about half a year.

Note

For POP accounts, only the ALL criterion is available.

Note

The most precise time-based lookup is DAILY as IMAP only supports lookup by date, not by timestamp.

Note

The standard routines for a mailaccount fetch both the Inbox and the Sent mailbox. You can change the values for these routines later to match your needs.

Note

For Inbox mailboxes, the recommended setup is filtering by UNSEEN flag multiple times every minute. For other mailboxes, use DAILY or WEEKLY depending on the activity in the mailbox.

Note

For mailboxes with a sizeable number of emails (e.g. because you rarely clean out your INBOX), avoid using the ALL criterion as it will fetch all emails every time the routine runs, causing a large workload for the server.

Note

If you use a different emailarchive server as backup, you may not be able to use filtering by RECENT or UNSEEN, since that may lead to race conditions between the two servers. Just use the time-based filters instead.

For more specific filtering, you can use the following criteria that take a custom value to filter by.

Criterion

Description

FROM

Emails that have been sent by the given mailaddress.

BODY

Emails that have the given word in their bodytext.

SUBJECT

Emails that have the given word in their subject line.

KEYWORD

Emails that have been marked with the given flag. Can be used to filter for a specific flag that is not already implemented by one of the upper criteria.

UNKEYWORD

Emails with have not been marked with the given flag.

LARGER

Emails that have a larger data size than the given value. That value has to be a positive integer in bytes.

SMALLER

Emails that have a smaller data size than the given value. That value has to be a positive integer in bytes.

SENTSINCE

Emails that have been sent since the given date. That date has to be given in format YYYY-MM-DD.

Note

If you use IMAP, you can use the custom value to configure much more complex filters. For example, if you want to get only emails with a size above 1000 bytes and that have ‘asdf’ in the subject line, you can use the SUBJECT filter with value ‘asdf LARGER 1000’. To chain the filters with an OR instead of an AND, you would use ‘asdf OR LARGER 1000’.

Note

For more details on filters in IMAP, see the RFC 3501 standard.

The interval-period setting defines the time unit that lies between two routine jobs runs. The interval-every parameter defines how much many interval-period’s pass between two runs of the routine job. This should be set depending on the criterion.

There are other parameters that can be changed.

  • restart-time: defines how long the routine waits before restarting after being crashed.

Note

The smaller the cycle-period, the larger the number of logfiles and/or the maximum size should be.

The routine is automatically started when you save it, but runs the first time only after one cycle-period. If you want it to run right away, you can use the test action in the menu, which triggers a single run. You can also stop it at any time if necessary.

To troubleshoot and get information about what the routine is doing, check the last error message of the routine and attempt a test run. If the issue lies with the mailbox or account that the routine is fetching from, they will be marked as unhealthy as well.

Archived Data

Once data from your emails has been collected and archived, you can view it using the web interface.

Eonvelope gathers data about three types of information in your emails. Attachments, correspondents and of course the emails themselves.

Each of these can be search and filtered by various criteria. Every single item can be viewed individually as well. Items that are important to you can marked as favorites. Just click the star icon in the card of the item to toggle the favorite status. Favorite items are sorted to the top of lists so they are easily found.

Tables And Lists

You can get an overview of your data in two formats: listed or tabular.

The listed format presents a series of cards representing the data while the tabular interface gives you a clean table with information with each object in its own row.

The table interface can always be found by appending table/ to the url of the corresponding list overview.

Emails

For IMAP, Exchange and JMAP email accounts, emails can be restored to the mailbox that they were found in.

Conversations

Emails contains headers linking them with other emails. Using this data allows Eonvelope to reconstruct complete conversations, given that all emails in it are present. Otherwise the conversations may only be fragmentary. We try to make sure to fetch emails in the correct chronological order to be able to resolve all links. Nonetheless it may happen that a single fetch of many connected mails does not find all conversations. The safest way to allow this feature to play out is to set up routines both for you INBOX and OUTBOX mailboxes, that fetch multiple times a day, as described above.

Timeline Overview

For emails there are additional special listing pages. These allow you to view your archived emails in chronological order.

You can see the emails received within a specific timeframe that can be chosen from specific days to entire year.

Select the timespan you are interested in and the emails from that period of time will be listed for you. If you wish you can then make the timeframe more fine-grain and get an even better history of your mail traffic and activity.

Individual emails can be downloaded in eml format, if they were saved as such.

Attachments

If you have set up third-party services in your profile, you can share them with these services.

Like emails, attachments can be downloaded, if they were archived as files.

Correspondents

Correspondents can be downloaded as vcard files with emailaddress and name inside. This file can be imported to other digital contacts and addressbooks.

Import And Export

Import

Instead of fetching the emails from a mailaccount, you can also import emails in various file formats. The import adds the messages to a mailbox of your choice, the upload option can be found on the detail page of the mailbox.

The following formats are supported:

.eml

Standard email format, holds a single message.

.zip[.eml]

A zipfile holding multiple .eml files with single messages in each of them.

.mbox

Format for multiple emails, common for multi-file exports from mailclients, especially on UNIX systems.

.babyl

Format for multiple emails, used by the Rmail mail user agent included with Emacs

.mmdf

Format for multiple emails, invented for the Multichannel Memorandum Distribution Facility, a mail transfer agent.

.zip[.mh]

Directory-based format for multiple emails, used by the MH Message Handling System mail agent. The MH mailbox has to be given in zipped form.

.zip[.maildir]

Directory-based format for multiple emails, initiated by the qmail mail transfer agent and now widely supported by other programs. The Maildir mailbox has to be given in zipped form.

Note

The maildir format must contains a complete mailstorage in the zipfile. The structure inside the .zip needs to be similar to

/
└── maildir
    ├── cur
    ├── new
    │   ├── mail-1
    |   ...
    |   └── mail-2
    |
    └── tmp

Note

The mh format must contain a .mh-sequences file, even if its empty. The structure inside the .zip needs to be similar to

/
└── mh
    ├── 1
    ├── 2
    └── .mh_sequences

If you are unsure what structure inside the zipfile is required for a successful upload, try exporting emails in that same format. The structure of the file you will receive is the same structure required for import.

If you have a file in a proprietary format like .msg or .ost, please convert it to one of the upper formats using a conversion tool, plenty of these are available on github and other platforms.

You can also import data in various tabular formats into the database via the admin panel if your instance is not in slim mode.

Export

Exporting can be done in various ways:

  • download individual emails, mailboxes or accounts via the respective item’s page

  • download emails or mailboxes in a bunch via the respective filter page

The same downloads are available via the API. Please refer to the API documentation for instructions on the usage of these endpoints.

The same formats as above are accepted.

You can also export data from the database in various tabular formats via the admin panel if your instance is not in slim mode. The supported formats are csv, xls, xlsx, tsv, ods, json, yaml, html.