<html>
 <head>
  <meta name="viewport" content="width=device-width, user-scalable=no">
  <link rel="stylesheet" href="../../core/foam.css">
  <link rel="stylesheet" href="../../lib/mdui/style.css">
  <link rel="stylesheet" href="style.css">
  <script language="javascript" src="../../core/bootFOAM.js"></script>
  <script language="javascript" src="../../lib/bookmarks/bookmark.js"></script>
  <script language="javascript" src="../../lib/contacts/dao.js"></script>
  <script language="javascript" src="../../lib/contacts/contacts.js"></script>
  <script language="javascript" src="../../lib/mdui/AppController.js"></script>
  <script language="javascript" src="../../lib/mdui/view.js"></script>
  <script language="javascript" src="../../lib/mdui/DetailView.js"></script>
  <script language="javascript" src="../../lib/mdui/ToolbarRichTextView.js"></script>
  <script src="../mailreader/email.js"></script>
  <script language="javascript" src="gmail.js"></script>
  <script language="javascript" src="compose.js"></script>
 </head>
 <body>
  <script>
    // TODO: In the EMailCitationView it refers to mgmail. It should use context but that's not working.
    EasyOAuth2 = OAuth2Redirect;
    var w = Window.create({ window: window });
    arequire('MGmail')(function(m) {
      w.view = m.create();
    });
  </script>
 </body>
</html>

<html>
 <head>
  <meta name="viewport" content="width=device-width, user-scalable=no">
  <link rel="stylesheet" href="../../core/foam.css">
  <link rel="stylesheet" href="../../lib/mdui/style.css">
  <link rel="stylesheet" href="style.css">
  <script language="javascript" src="../../core/bootFOAM.js"></script>
  <script language="javascript" src="../../lib/bookmarks/bookmark.js"></script>
  <script language="javascript" src="../../lib/contacts/dao.js"></script>
  <script language="javascript" src="../../lib/contacts/contacts.js"></script>
  <script language="javascript" src="../../lib/mdui/AppController.js"></script>
  <script language="javascript" src="../../lib/mdui/view.js"></script>
  <script language="javascript" src="../../lib/mdui/DetailView.js"></script>
  <script language="javascript" src="../../lib/mdui/ToolbarRichTextView.js"></script>
  <script language="javascript" src="gmail.js"></script>
  <script language="javascript" src="compose.js"></script>
 </head>
 <body>
  <script>
    // TODO: In the EMailCitationView it refers to mgmail. It should use context but that's not working.
    EasyOAuth2 = OAuth2Redirect;
    var w = Window.create({ window: window });
    arequire('MGmail')(function(m) {
      w.view = m.create();
    });
  </script>
 </body>
</html>

Remove reference to deprecated/removed mailreader/email.js file.
Remove reference to deprecated/removed mailreader/email.js file.
