Pro

In addition to scanning, the Import pane also provides the controls to archive emails from Apple Mail and Microsoft Outlook. While you can drag email messages individually from your email client, the Email section of this sidebar also allows you to import individual messages or archive mailboxes directly into your DEVONthink database.

Open the pane pane by choosing View > Import. Here we discuss the controls used in this section.

## Accounts and mailboxes

The lefthand section of the Email section displays the active accounts and mailboxes of Apple Mail or Microsoft Outlook, if installed. Select your email client, then click the disclosure triangle to show the accounts then its mailboxes.

Mailbox View: When you select a mailbox in a specific account, the window will display more controls for filtering and importing messages from that mailbox. The central view shows the contents of a chosen mailbox. This is where you can select individual messages to import, if desired. This view is separated into columns that can be sorted by clicking the column headers. The basic columns include From, To, and the Subject. If you are choosing to show already imported messages, there is a special column showing those items. For emails marked as high priority, the flagged column will also show two exclamation points and the subject, etc. will show in red. Control-click in the this view to refresh its contents or import selected emails.

## Filter and import

When a mailbox is selected, the righthand side of the window shows options for filtering the messages displayed. It also lets you choose the location where the messages will be imported.

Destination: Choose the destination database for the imported messages or mailboxes. Note: You can choose a specific group in a database when using the Import function. However, you can only choose a specific database, and not a group, when using the Archive Mailbox function. Emails are archived into a special Emails group at the root of the specified database.

Search: Use this search field to search for messages by the sender or recipient's Name, email address, or the subject line. Note this only allows for a single term to be used. However, the search is matching substrings, so a search for `jun` would match "junk", "jungle", and "jejune".

Show: Select options in this section to further fine-tune the list of importable messages, if desired. You can use:

- Read: Show emails messages have been read, unread, or either.
- Flagged: Show messages that have been flagged in the email application.
- Priority: Show messages that have an assigned priority
- Date Range: Choose a range of dates to display messages received between them.

Hide: Use these controls to hide certain items from the mailbox view. All these options are enabled by default, but can be selectively disabled, if needed. However, when these options are enabled it makes it easy to see only new messages, ready for import.

- Imported: Enabled by default, this hides messages you've already imported into the current database. As you can't import the same message into a database multiple times, changing the Destination changes what messages are displayed when this option is enabled. If you disable it, already imported messages will show a checkmark next to their name
- Deleted: Hide messages you've put in the account's trash.
- Junk: Hide messages moved to the account's junk mailbox.

The last two items are buttons for importing selected emails from the Mailbox view or archiving the currently selected mailbox. For a practical overview of the email archiving process, check out the Archiving Email section of the In & Out chapter.