I'm trying to open a specific email folder in Thunderbird (v102.7.1), using the command line arguments.

I already found out that using thunderbird.exe mid:<MESSAGE-ID> will open the email with <MESSAGE-ID>.

Is there a way to open an email folder with a similar method or the command line in general?

I already tried:

  • thunderbird.exe mid:<FOLDER-LOCATION>
  • thunderbird.exe mail:<FOLDER-LOCATION>
  • thunderbird.exe inbox:<FOLDER-LOCATION>
  • thunderbird.exe <FOLDER-LOCATION>
  • thunderbird.exe label:<LABEL>
  • thunderbird.exe -mail label:<LABEL>
  • thunderbird.exe -mail -folder "mailbox://imap.<PROVIDER>.de/Inbox
  • thunderbird.exe -mail <ACCOUNT NAME>/<NAMESPACE>/INBOX

and various other things I don't remember anymore.

  • Welcome to the community. I'm not certain but I think this depends on where exactly the mail is. For example GMail doesn't have folders, but labels. If you have GMail, you could try something like thunderbird.exe label:<LABEL>. No guarantees tho' :-) These two came right up with google search - maybe they help? support.mozilla.org/en-US/questions/1148495 support.cdn.mozilla.net/en-US/questions/1374787 Feb 6 at 11:41
  • Sadly thunderbird.exe label:<LABEL> or any variation did not work. I'm affaid, the links did not provide any usefull information. Still a good idea tho.
    – username
    Feb 6 at 12:39
  • Dang! I'd suggest you edit the question to add this. This is generally advisable so that the relevant info is directly available for the community members without digging it out from comments. As SE communities aren't discussion forums, I'd suggest checking the Help section to get a handle on how things work. Feb 6 at 12:45


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy