diff --git a/mail/base/content/contents.rdf b/mail/base/content/contents.rdf
index bb274e6b725..1d0b7aa2540 100644
--- a/mail/base/content/contents.rdf
+++ b/mail/base/content/contents.rdf
@@ -5,14 +5,14 @@
-
+
-
@@ -24,79 +24,51 @@
-
-
-
-
-
-
-
-
+
+
+
- chrome://messenger/content/mailPrefsOverlay.xul
+ chrome://mail/content/mailPrefsOverlay.xul
- chrome://messenger/content/mailPrefsOverlay.xul
+ chrome://mail/content/mailPrefsOverlay.xul
- chrome://messenger/content/mailPrefsOverlay.xul
+ chrome://mail/content/mailPrefsOverlay.xul
- chrome://messenger/content/mailPrefsOverlay.xul
+ chrome://mail/content/mailPrefsOverlay.xul
- chrome://messenger/content/mailPrefsOverlay.xul
-
-
-
-
- chrome://messenger/content/mailTasksOverlay.xul
-
-
-
-
- chrome://messenger/content/mailNavigatorOverlay.xul
-
-
-
-
- chrome://messenger/content/mailMessengerOverlay.xul
-
-
- chrome://messenger/content/mailMessengerOverlay.xul
+ chrome://mail/content/mailPrefsOverlay.xul
-
- chrome://messenger/content/mailMessengerComposeOverlay.xul
+
+ chrome://mail/content/mailMessengerComposeOverlay.xul
-
- chrome://messenger/content/mailABOverlay.xul
+
+ chrome://mail/content/mailABOverlay.xul
-
- chrome://messenger/content/mailOverlay.xul
+
+ chrome://mail/content/mailOverlay.xul
-
-
-
- chrome://messenger/content/mailEditorOverlay.xul
-
diff --git a/mail/base/content/mail.xul b/mail/base/content/mail.xul
new file mode 100644
index 00000000000..82ba2969318
--- /dev/null
+++ b/mail/base/content/mail.xul
@@ -0,0 +1,1912 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+%brandDTD;
+
+%messengerDTD;
+
+%contentAreaCommandsDTD;
+
+%charsetDTD;
+]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ //for one folder only
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mail/base/content/mailWindowOverlay.xul b/mail/base/content/mailWindowOverlay.xul
index f95f77429cf..e49dd9b9643 100644
--- a/mail/base/content/mailWindowOverlay.xul
+++ b/mail/base/content/mailWindowOverlay.xul
@@ -23,7 +23,6 @@ Rights Reserved.
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- //for one folder only
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mail/base/jar.mn b/mail/base/jar.mn
index 6a528212f4d..e9c195385f8 100644
--- a/mail/base/jar.mn
+++ b/mail/base/jar.mn
@@ -1,71 +1,73 @@
-messenger.jar:
-+ content/messenger/contents.rdf (content/contents.rdf)
-+ content/messenger/messenger.css (content/messenger.css)
-+ content/messenger/messenger.xul (content/messenger.xul)
-+ content/messenger/mail3PaneWindowVertLayout.xul (content/mail3PaneWindowVertLayout.xul)
-+ content/messenger/mailWindowExtrasOverlay.xul (content/mailWindowExtrasOverlay.xul)
-+ content/messenger/mailWindowOverlay.xul (content/mailWindowOverlay.xul)
-+ content/messenger/mailWindowOverlay.js (content/mailWindowOverlay.js)
-+ content/messenger/msgSynchronize.xul (content/msgSynchronize.xul)
-+ content/messenger/msgSynchronize.js (content/msgSynchronize.js)
-+ content/messenger/msgSelectOffline.xul (content/msgSelectOffline.xul)
-+ content/messenger/mailWindow.js (content/mailWindow.js)
-+ content/messenger/messageWindow.xul (content/messageWindow.xul)
-+ content/messenger/messageWindow.js (content/messageWindow.js)
-+ content/messenger/folderProps.xul (content/folderProps.xul)
-+ content/messenger/folderProps.js (content/folderProps.js)
-+ content/messenger/msgHdrViewOverlay.xul (content/msgHdrViewOverlay.xul)
-+ content/messenger/msgHdrViewOverlay.js (content/msgHdrViewOverlay.js)
-+ content/messenger/msgHdrViewAddresses.js (content/msgHdrViewAddresses.js)
-+ content/messenger/widgetglue.js (content/widgetglue.js)
-+ content/messenger/commandglue.js (content/commandglue.js)
-+ content/messenger/mailCommands.js (content/mailCommands.js)
-+ content/messenger/shareglue.js (content/shareglue.js)
-+ content/messenger/subscribe.xul (content/subscribe.xul)
-+ content/messenger/subscribe.js (content/subscribe.js)
-+ content/messenger/newFolderDialog.xul (content/newFolderDialog.xul)
-+ content/messenger/newFolderDialog.js (content/newFolderDialog.js)
-+ content/messenger/msgViewNavigation.js (content/msgViewNavigation.js)
-+ content/messenger/msgMail3PaneWindow.js (content/msgMail3PaneWindow.js)
-+ content/messenger/searchBar.js (content/searchBar.js)
-+ content/messenger/msgAccountCentral.xul (content/msgAccountCentral.xul)
-+ content/messenger/msgAccountCentral.js (content/msgAccountCentral.js)
-+ content/messenger/mail3PaneWindowCommands.js (content/mail3PaneWindowCommands.js)
-+ content/messenger/msgFolderPickerOverlay.js (content/msgFolderPickerOverlay.js)
-+ content/messenger/msgFolderPickerOverlay.xul (content/msgFolderPickerOverlay.xul)
-+ content/messenger/renameFolderDialog.xul (content/renameFolderDialog.xul)
-+ content/messenger/renameFolderDialog.js (content/renameFolderDialog.js)
-+ content/messenger/messengerdnd.js (content/messengerdnd.js)
-+ content/messenger/mailContextMenus.js (content/mailContextMenus.js)
-+ content/messenger/msgPrintEngine.js (content/msgPrintEngine.js)
-+ content/messenger/msgPrintEngine.xul (content/msgPrintEngine.xul)
-+ content/messenger/mailTasksOverlay.xul (content/mailTasksOverlay.xul)
-+ content/messenger/mailNavigatorOverlay.xul (content/mailNavigatorOverlay.xul)
-+ content/messenger/mailEditorOverlay.xul (content/mailEditorOverlay.xul)
-+ content/messenger/mailABOverlay.xul (content/mailABOverlay.xul)
-+ content/messenger/mailMessengerOverlay.xul (content/mailMessengerOverlay.xul)
-+ content/messenger/mailMessengerComposeOverlay.xul (content/mailMessengerComposeOverlay.xul)
-+ content/messenger/mailWidgets.xml (content/mailWidgets.xml)
-+ content/messenger/mail-offline.js (content/mail-offline.js)
+mail.jar:
+ content/mail/contents.rdf (content/contents.rdf)
+ content/mail/messenger.css (content/messenger.css)
+ content/mail/mail.xul (content/mail.xul)
+ content/mail/mail3PaneWindowVertLayout.xul (content/mail3PaneWindowVertLayout.xul)
+ content/mail/mailWindowExtrasOverlay.xul (content/mailWindowExtrasOverlay.xul)
+ content/mail/mailWindowOverlay.xul (content/mailWindowOverlay.xul)
+ content/mail/mailWindowOverlay.js (content/mailWindowOverlay.js)
+ content/mail/msgSynchronize.xul (content/msgSynchronize.xul)
+ content/mail/msgSynchronize.js (content/msgSynchronize.js)
+ content/mail/msgSelectOffline.xul (content/msgSelectOffline.xul)
+ content/mail/mailWindow.js (content/mailWindow.js)
+ content/mail/messageWindow.xul (content/messageWindow.xul)
+ content/mail/messageWindow.js (content/messageWindow.js)
+ content/mail/folderProps.xul (content/folderProps.xul)
+ content/mail/folderProps.js (content/folderProps.js)
+ content/mail/msgHdrViewOverlay.xul (content/msgHdrViewOverlay.xul)
+ content/mail/msgHdrViewOverlay.js (content/msgHdrViewOverlay.js)
+ content/mail/msgHdrViewAddresses.js (content/msgHdrViewAddresses.js)
+ content/mail/widgetglue.js (content/widgetglue.js)
+ content/mail/commandglue.js (content/commandglue.js)
+ content/mail/mailCommands.js (content/mailCommands.js)
+ content/mail/shareglue.js (content/shareglue.js)
+ content/mail/subscribe.xul (content/subscribe.xul)
+ content/mail/subscribe.js (content/subscribe.js)
+ content/mail/newFolderDialog.xul (content/newFolderDialog.xul)
+ content/mail/newFolderDialog.js (content/newFolderDialog.js)
+ content/mail/msgViewNavigation.js (content/msgViewNavigation.js)
+ content/mail/msgMail3PaneWindow.js (content/msgMail3PaneWindow.js)
+ content/mail/searchBar.js (content/searchBar.js)
+ content/mail/msgAccountCentral.xul (content/msgAccountCentral.xul)
+ content/mail/msgAccountCentral.js (content/msgAccountCentral.js)
+ content/mail/mail3PaneWindowCommands.js (content/mail3PaneWindowCommands.js)
+ content/mail/msgFolderPickerOverlay.js (content/msgFolderPickerOverlay.js)
+ content/mail/msgFolderPickerOverlay.xul (content/msgFolderPickerOverlay.xul)
+ content/mail/renameFolderDialog.xul (content/renameFolderDialog.xul)
+ content/mail/renameFolderDialog.js (content/renameFolderDialog.js)
+ content/mail/messengerdnd.js (content/messengerdnd.js)
+ content/mail/mailContextMenus.js (content/mailContextMenus.js)
+ content/mail/msgPrintEngine.js (content/msgPrintEngine.js)
+ content/mail/msgPrintEngine.xul (content/msgPrintEngine.xul)
+ content/mail/mailTasksOverlay.xul (content/mailTasksOverlay.xul)
+ content/mail/mailNavigatorOverlay.xul (content/mailNavigatorOverlay.xul)
+ content/mail/mailEditorOverlay.xul (content/mailEditorOverlay.xul)
+ content/mail/mailABOverlay.xul (content/mailABOverlay.xul)
+ content/mail/mailMessengerOverlay.xul (content/mailMessengerOverlay.xul)
+ content/mail/mailMessengerComposeOverlay.xul (content/mailMessengerComposeOverlay.xul)
+ content/mail/mailWidgets.xml (content/mailWidgets.xml)
+ content/mail/mail-offline.js (content/mail-offline.js)
+ content/mail/threadPane.js (content/threadPane.js)
en-US.jar:
-+ locale/en-US/messenger/messenger.dtd (locale/messenger.dtd)
-+ locale/en-US/messenger/msgAccountCentral.dtd (locale/msgAccountCentral.dtd)
-+ locale/en-US/messenger/messenger.properties (locale/messenger.properties)
-+ locale/en-US/messenger/newFolderDialog.dtd (locale/newFolderDialog.dtd)
-+ locale/en-US/messenger/renameFolderDialog.dtd (locale/renameFolderDialog.dtd)
-+ locale/en-US/messenger/folderProps.dtd (locale/folderProps.dtd)
-+ locale/en-US/messenger/subscribe.dtd (locale/subscribe.dtd)
-+ locale/en-US/messenger/subscribe.properties (locale/subscribe.properties)
-+ locale/en-US/messenger/msgFolderPickerOverlay.dtd (locale/msgFolderPickerOverlay.dtd)
-+ locale/en-US/messenger/msgHdrViewOverlay.dtd (locale/msgHdrViewOverlay.dtd)
-+ locale/en-US/messenger/mailTasksOverlay.dtd (locale/mailTasksOverlay.dtd)
-+ locale/en-US/messenger/mailTurboMenu.properties (locale/mailTurboMenu.properties)
-+ locale/en-US/messenger/mailNavigatorOverlay.dtd (locale/mailNavigatorOverlay.dtd)
-+ locale/en-US/messenger/mailEditorOverlay.dtd (locale/mailEditorOverlay.dtd)
-+ locale/en-US/messenger/msgSynchronize.dtd (locale/msgSynchronize.dtd)
-+ locale/en-US/messenger/offline.properties (locale/offline.properties)
+ locale/en-US/mail/messenger.dtd (locale/messenger.dtd)
+ locale/en-US/mail/msgAccountCentral.dtd (locale/msgAccountCentral.dtd)
+ locale/en-US/mail/messenger.properties (locale/messenger.properties)
+ locale/en-US/mail/newFolderDialog.dtd (locale/newFolderDialog.dtd)
+ locale/en-US/mail/renameFolderDialog.dtd (locale/renameFolderDialog.dtd)
+ locale/en-US/mail/folderProps.dtd (locale/folderProps.dtd)
+ locale/en-US/mail/subscribe.dtd (locale/subscribe.dtd)
+ locale/en-US/mail/subscribe.properties (locale/subscribe.properties)
+ locale/en-US/mail/msgFolderPickerOverlay.dtd (locale/msgFolderPickerOverlay.dtd)
+ locale/en-US/mail/msgHdrViewOverlay.dtd (locale/msgHdrViewOverlay.dtd)
+ locale/en-US/mail/mailTasksOverlay.dtd (locale/mailTasksOverlay.dtd)
+ locale/en-US/mail/mailTurboMenu.properties (locale/mailTurboMenu.properties)
+ locale/en-US/mail/mailNavigatorOverlay.dtd (locale/mailNavigatorOverlay.dtd)
+ locale/en-US/mail/mailEditorOverlay.dtd (locale/mailEditorOverlay.dtd)
+ locale/en-US/mail/msgSynchronize.dtd (locale/msgSynchronize.dtd)
+ locale/en-US/mail/offline.properties (locale/offline.properties)
+ locale/en-US/mail/contents.rdf (locale/contents.rdf)
US.jar:
diff --git a/mail/base/locale/messenger.dtd b/mail/base/locale/messenger.dtd
index 1c83d1fe3ff..ce09eaa282d 100644
--- a/mail/base/locale/messenger.dtd
+++ b/mail/base/locale/messenger.dtd
@@ -512,4 +512,46 @@ Rights Reserved.
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+