if spotlight integration is turned on, loading a .eml file crashes because we use an nsMessenger instance w/o a msgWindow to try to get a msghdr from a uri. The simplest fix is to just do a null check in GetMsgHdrFromUri.
Created attachment 256964 [details] [diff] [review] proposed fix
fixed on trunk and branch that patch is missing a ')' at the end of the line
verified on the 1.8 branch using the Tbird candidate build, version 220.127.116.11 (20070326), using an Intel Mac running 10.4.9. I don't see any crash. I do see a little weirdness with opening .eml files from the desktop on the mac if tbird is closed - sometimes they open as compose windows. Will investigate that further. Adding branch verified keyword.