Main menu:

Taoyuan Nights

Sharing email between two (or more) places with IMAP.

Do you ever find yourself wanting to access your email from both home and the office - but at the same time, hating the crappy webmail client that seems like the only way of doing it? In fact, there is a much nicer solution than ‘POP3′ email (outlook express), or webmail, which surprisingly few people seem to know about. It’s called IMAP. However, I should probably begin by describing how POP3 and webmail work.

  • POP3, the Post Office Protocol, is an old technology for email which is based on the idea of ‘visiting the postoffice’ to collect your mail. A POP3 server is a computer program that is always available on the internet, and which gradually stores up a collection of emails for you as they arrive. A bit like the business ‘PO box’ service still provided by many post offices in real life.

    Every now and then, your computer at home connects to the POP3 server and says ‘Have I got any new mail?’. The POP3 server then sends through a photocopy of the emails it has received, and (optionally) clears out the folder. That means your computer becomes the new home for all your emails. After all, who stores their postal mail at the postoffice?

    There are a few problems with this. First of all, it’s just a single giant box for new emails. You can’t put anything in it yourself (unless you send yourself an email); and you can’t organise your emails into different types or put them into different folders. It’s simply an ‘always-available’ dumping ground for email, so that you can receive email even when your home computer isn’t turned on.

    Also, you can’t store your sent-mail in your POP3 inbox. There are ways round this; you can always send a duplicate copy of outgoing mail to a second POP3 inbox, but that can get a little bit confusing, especially if you send things from different identities, i.e. your official ‘office’ persona, your ‘home’ persona, and your wacky ‘World of Warcraft’ persona.

    Finally, it’s annoying to share email between several computers using POP3. You can’t always be sure that both computers have the same emails downloaded. Imagine I go to the office, collect my email, and delete some spam. By the time I go home, I realise I left the computer on at home, and it also downloaded a copy of the spams, but now they’re not deleted!

    Or, maybe I organise my emails neatly into a folder. The problem is, on the office computer the emails are neatly organised into a folder, but at home they’re still sitting in my main INBOX, making a mess! Argh! If only you could easily keep things organised and up-to-date, across all of your computers…

  • Webmail was introduced as a way of overcoming this problem, as well as the problem of accessing email from a temporary location such as an internet cafe where you can’t install your own programs. By storing both your ‘email program’ and ‘email archives’ on a web server, all you need is a web browser to access your mail from any location. The problem now is simply that the interface is limited, in terms of speed and ‘niceness’, by the limits of web browsers. Also, usually, webmail is not very well integrated with your home computer. By this, I mean that you can’t simply drag and drop files to and from emails in your webmail. Instead, you have to take a few extra clicks to save them. But webmail at least offers a standardised way of accessing your email from two or more places.

The third option that most people don’t know about is IMAP. IMAP was designed as a technology to make it easy to share your emails between different locations, and it is built into most modern email programs. It stores your emails on a centralised server, but in a way that is accessed a little like a POP3 mailbox rather than webmail. However, now you can seperate your mailbox into folders, and you can store your sent emails, all in the same inbox, and all with a single password. In fact, a set of IMAP folders in Outlook (or any other mail program) can be accessed exactly like a set of mail folders stored on your local computer.

This is remarkably handy. It means you can have an organised system for emails and files, shared between two or more places, but with a nice, fast graphical interface (Mail.app, Outlook Express). In practice, to make it run quickly, email is ‘cached’ on your home computer. In other words, a spare copy is sent to your computer from the IMAP server, so you can read your email even when your computer is not connected to the internet. But, the ‘official copy’ is stored on the IMAP server. That way, if you delete an email from your office, it’s also deleted when you log into email from home. If you organise your email on your office computer, then when you get home, the emails there have been automatically re-organised too, to match your office.

IMAP has a few other nice features that people don’t always notice. For example, instead of having to check your email every few minutes (we call this a pull technology in computing), IMAP contacts your computer to say ‘hey, I’ve got something new for you!’ (you guessed it - push technology). This means more work for the email server, but from your perspective, it means your emails always arrive instantly. Brilliant!

After setting up your new IMAP account (exactly like setting up POP3 - just enter the details in the IMAP section), you may want to make sure you’re not shouting everything to the world, everytime you send an email. By enabling ’secure/SSL SMTP’ and ’secure/SSL IMAP’ in your email program, you can be sure that both your outgoing and incoming email is communicated securely in a way that no-one else can read. Perfect!

Since I centralised my own email system on secure IMAP/SMTP, life has been so much easier! I use ASO who can provide about 75MB of space for around $25 US per year. This is overkill for most people’s needs; though 400MB is available for just a few dollars more. ASO, incidentally, are by far and away the most impressive webhosting/emailhosting company I’ve had the pleasure of dealing with in the last 10 years. Great prices, great services, great customer service. You think this sounds like an ad? So be it - they deserve a free ad! :)

I can even use my email system as a way of storing files I want to access from both the office and my home. I find it’s very convenient, since I can drag and drop things quickly in my email program, and by paying for a decent-quality internet account with ASO, I get super fast email, too.

My email client is mail.app, the default mail program on the Apple mac, which has incredibly powerful email searching and organising features thanks to a technology called “Spotlight” on the Apple mac. On a Windows computer, Thunderbird is a really nice free program that seems more reliable than Outlook Express.

Anyway, in summary: if your POP3 email is always a mess; or if you’re using a webmail system, but deep down, you hate it; then consider using secure IMAP as an easy, fast, and secure way of organising and sharing your emails between several locations. It’s great!

Related articles