cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Tiim
Strollin' around
Status: New idea

It would be very useful to be able to copy a deep link to a specific email. When this link gets opened, thunderbird should, if it has not yet been launched, launch and directly display the linked email. This could be done using a custom url protocol such as `thunderbird://open/<email-id>`. Those links should ideally work on multiple computers, as long as the specified email is in the mailbox.

Use case:

- Many people create notes in some kind of note taking app like obsidian, which supports external links. When writing notes, it can be very useful to link directly to an email, without having to take a screenshot or copying the whole email into the note.

- Other apps like todo lists, calendars and similar can store links, and people might want to link to emails that contain context to the todo item or calendar event.

6 Comments
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

Awako
Making moves

 

 

This code opens mailto links containing a messageID:

(() => {	
const { MailUtils } = ChromeUtils.import("resource:///modules/MailUtils.jsm");
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
Services.wm.addListener({
		onOpenWindow: function (win) {
			win.docShell.domWindow.addEventListener("DOMContentLoaded", this, {capture: true, once: true});
		},
		handleEvent: function (event) {
			let win = event.currentTarget;
			if (win.document.documentElement.getAttribute("windowtype") == "msgcompose") {
				if (("arguments" in win) && (win.arguments[0])) {
					let arg = win.arguments[0];
					if ((typeof arg == "string")&&(arg.indexOf("mailto:")==0)) {	
						OpenMessageForMessageId(arg.substring(7)); //see pref mailnews.messageid.openInNewWindow
						win.close();
					}
				}
			}
			win.removeEventListener(event.type, this, {capture: true, once: true});
		}
	});
})();

 

paradeiser
New member

This would be essential and help A LOT in the daily workflow!

Keesjepatatje
New member

Deep linking to e-mail messages stored in thunderbird would be useful to so many workflows involving external (note-taking, task-management) applications.

For examples of some of the more advanced things possible: https://hookproductivity.com/

MarkusMüller
New member

This feature would be fantastic!! It would benefit so many to-do and GTD workflows... There used to be an add-on called Thunderlink that provided a similar functionality but it has been discontinued since TB 38.

Mozzie
New member

I agree with the proposal.