Thunderbird: Rearrange the order of email accounts

The other day I had to change an email account from POP3 to IMAP. It was 3rd on my long list of email addresses (yes, I am a massive email whore) and when I added a new account it went smack bang down to 10th at the very bottom =(

To rearrange the email accounts on the left hand tree, you have one of two three options.

Use my order generation script

I spent 15mins whipping up this script because I really don't wanna install something I don't need to.

On the other hand, its a pain in the ass to do it manually.

I've put the script here if anyone wants to use it. You can read the source code before entering any data in.

Download the FolderPanes Extension

This is the easiest way. I've never tried it, but lots of people say it works. Get it here.


Edit the file manually

This can be a little painful, as the account IDs aren't what you'd expect.

Close off Thunderbird and open up your Thunderbird profile folder. Edit "prefs.js" in notepad.

Search for "mail.accountmanager.accounts".

Now that whole row should read something like this:

user_pref("mail.accountmanager.accounts", "account9,account1,account7,account5,account8,account11,account10,account6,account3,account2,");

Now the tricky bit is to find the matching ID's. You'll have to scroll past the whole chunk of "" blocks and look for "mail.server.server#".

Naturally you'd presume that the identity IDs are the ones you need, but it isn't. It actually needs the server ones.

To make your life easier, open up a blank notepad file and copy over all the values of "".

Rearrange them in the notepad to the order you want and then change the value of "mail.accountmanager.accounts" accordingly.

Save "prefs.js" and start Thunderbird to check if the order matches what you set.

Even more success!

[ Source ]

Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog