Mailspring/spec_integration/fixtures/test_account_data/threads/3v72kvo9asj19uxjvlcuo8uzf.json
Evan Morikawa f56dc18690 feat(spec): add config dir to integration specs
Summary:
- You can now pass `--config-dir-path=/some/custom/path` to `./N1.sh`
- `main.coffee` cleaned up a bit. A lot of unused params from legacy Atom
  stuff were still being used
- Integration specs now set the config dir before booting.
- New spec to check for the autoupdater in the app and make sure it's
  pointing at the right place.

Test Plan: script/grunt run-integration-tests

Reviewers: juan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2331
2015-12-10 10:52:20 -05:00

49 lines
15 KiB
JSON

[
{
"account_id": "1nqpfzd0l7djj2xhega8i3iyc",
"bcc": [],
"body": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n<title>ALLY</title>\n<style type=\"text/css\">\n.ReadMsgBody{ width: 100%;} /* Forces Hotmail to display emails at full width */\n.ExternalClass { width: 100%;} /*Hotmail table centering fix*/\n.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;} /* Forces Hotmail to display normal line spacing*/\np { margin: 1em 0;} /*Yahoo paragraph fix*/\ntable td { border-collapse: collapse;} /*This resolves the Outlook 07, 10, and Gmail td padding issue fix*/\n/*This resolves the issue when iphone puts links on dates, etc.*/\na {color:#505050 !important; text-decoration:none !important;}\n.applelinksGrey a {color:#505050 !important; text-decoration:none !important;}\n.applelinksFtr a {color:#505050 !important; text-decoration:none !important;}\n.applelinksPlum a {color:#650360 !important; text-decoration:none !important;}\n\n@-ms-viewport{\n width: device-width;\n}\n/* Media query triggers alternate styles when the file is displayed on a device with a maximum width lower than the assigned pixel dimension. The default max width setting for max-width should be 480px to trigger on mobile devices. */\n\n@media only screen and (max-width: 480px) {\n/* Resets the width of the body content. Called container simply because it's the bucket the rest of the content sits inside. */\nbody[yahoo] .container {\n\twidth:320px !important;\t\n\t}\n/* Hides content from the mobile view */\nbody[yahoo] .mobile-hidden {\t\n\tdisplay:none !important;\n\t}\ntd[class=\"hide\"] {\n\tdisplay:none !important;\n}\n/* Scales down fixed width images to 100% in mobile view */\nbody[yahoo] .photo {\n\twidth:100% !important;\n\theight:auto !important;\t\t\n\t}\n/* Scales down logo width properly on mobile view */\t\nbody[yahoo] .logo {\n\theight:auto !important;\t\t\n\t}\n/* Next classes resize font sizes larger and adjust padding */\nbody[yahoo] .title {\n\tfont-size:20px !important;\n\t}\nbody[yahoo] .dollar {\n\tpadding-left:20px !important;\n\tpadding-right:20px !important;\n\t}\nbody[yahoo] .alert {\n\tfont-size:20px !important;\n\tpadding-left:20px !important;\n\tpadding-right:20px !important;\n\t}\t\nbody[yahoo] .body {\n\tfont-size: 12px !important;\n\t}\nbody[yahoo] .bodyPadRight {\n\tfont-size: 12px !important;\n\tpadding-right:90px !important;\n\t}\nbody[yahoo] .acnt_data {\n\tfont-size: 14px !important;\n\tpadding-right:10px !important;\n\t}\nbody[yahoo] .textBlock {\n\tfont-size: 15px !important;\n\tpadding-left:20px !important;\n\tpadding-right:20px !important;\n\t}\nbody[yahoo] .ftr {\n\tfont-size: 12px !important;\n\tpadding-left:20px !important;\n\tpadding-right:20px !important;\n\t}\nbody[yahoo] .width-padding{\n\tpadding:5px !important;\n\t}\nbody[yahoo] .main-padding {\n\tpadding:0px !important;\n\t}\n/*drops the right column under the left column*/\nbody[yahoo] .drop {\n\twidth: 100% !important;\n\tfloat: left !important;\n\t}\n/*puts a hard break in the mobile version*/\nbody[yahoo] .break {\n\tdisplay: block !important;\n\t}\t\n/* Shows elements mobile-hidden from the desktop view in the mobile version. It is best to place this class in a div surrounding the element you want to hide on desktop */\ndiv[class=\"show\"] {\n display: block !important;\n\tmargin:0 !important;\n\tpadding:0 !important;\n\toverflow: visible !important;\n\twidth: auto !important;\n\tmax-height:inherit !important;\t\n\t}\n/* Resizes font size of footer smaller */\nbody[yahoo] .greetings {\n\tfont-size:12px !important;\n\t}\n}\n</style>\n</head>\n\n<body bgcolor=\"#d8d8d8\" style=\"margin: 0px; padding:0px; -webkit-text-size-adjust:none; -ms-text-size-adjust: none;\" yahoo=\"fix\" >\n\n<!-- Centering Table -->\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <!--td class=\"width-padding\" style=\"padding:0 10px;\"-->\n <td bgcolor=\"#d8d8d8\">\n\t\t<div align=\"center\">\n <!-- Containing table -->\n <table class=\"container\" width=\"598\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n <tr>\n <td class=\"mobile-hidden\" align=\"left\" style=\"font-size:10px; color:#d8d8d8; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;\">We received your request to make a transfer from Ally Bank, MMA Savings to Wells Fargo Bank, Checking.</td>\n </tr>\n <tr>\n <td>\n <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td width=\"100%\" class=\"title\" align=\"left\" bgcolor=\"#328fc2\" style=\"border-bottom:2px solid #256c93; color:#ffffff; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; font-size:20px; padding-left:20px;\">Ally&nbsp;Bank&nbsp;Alert</td>\n <td style=\"border-bottom:2px solid #4a0246;\" bgcolor=\"#650360\" align=\"center\"><img src=\"http://image.alerts.ally.com/lib/fed215777767047d/m/1/allyAlertLogoV5.png\" alt=\"Ally\" width=\"88\" height=\"59\" border=\"0\" style=\"display:block; color:#ffffff; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; font-size:25px;\" /></td>\n </tr>\n</table>\n\n </td>\n </tr>\n <tr>\n <td bgcolor=\"#f7f7f7\" style=\"font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:15px; padding: 10px 20px;\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td align=\"left\" valign=\"top\" class=\"greetings\" style=\"font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:16px;\"><span class=\"mobile-hidden\">Hello, </span>Ben Bitdiddle</td>\n </tr>\n </table></td>\n </tr>\n <tr>\n <td bgcolor=\"#eeeeee\" style=\"border-top:#cccdcd 2px solid; \"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td align=\"left\" class=\"alert\" style=\"font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#650360; font-size:25px; padding:15px 20px;\">Your request to make a transfer from Ally Bank, MMA Savings to Wells Fargo Bank, Checking has&nbsp;started.</td>\n </tr>\n </table></td>\n </tr>\n \n <tr>\n <td align=\"center\" bgcolor=\"#eeeeee\">\n <table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td bgcolor=\"#dadada\" height=\"1\" style=\"font-size:0px; line-height:1px;\"><img src=\"http://image.email.ally.com/lib/fe651570746c03787615/m/1/spaceTrans.gif\" width=\"1\" height=\"1\" /></td>\n </tr>\n <tr>\n <td bgcolor=\"#ffffff\" height=\"1\" style=\"font-size:0px; line-height:1px;\"><img src=\"http://image.email.ally.com/lib/fe651570746c03787615/m/1/spaceTrans.gif\" width=\"1\" height=\"1\" /></td>\n </tr>\n </table>\n \n </td>\n </tr>\n <tr>\n <td bgcolor=\"#eeeeee\" style=\"padding:25px 20px; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px;\">\n <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td width=\"40%\" align=\"left\" valign=\"bottom\" class=\"acnt_data\" style=\"font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px; padding-top:1px;\">Transfer&nbsp;#:</td>\n <td align=\"left\" valign=\"bottom\" class=\"acnt_data\" style=\"font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px; padding-top:1px;\"><span class=\"appleLinksGrey\">410246011 </span></td>\n </tr>\n <tr>\n <td align=\"left\" valign=\"bottom\" class=\"acnt_data\" style=\"font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px; padding-top:1px;\">Amount:</td>\n <td align=\"left\" valign=\"bottom\" class=\"acnt_data\" style=\"font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px; padding-top:1px;\"><span class=\"appleLinksGrey\">$1,755.00</span></td>\n </tr>\n </table>\n\n </td>\n </tr>\n \n <tr>\n <td align=\"center\" bgcolor=\"#eeeeee\">\n <table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td bgcolor=\"#dadada\" height=\"1\" style=\"font-size:0px; line-height:1px;\"><img src=\"http://image.email.ally.com/lib/fe651570746c03787615/m/1/spaceTrans.gif\" width=\"1\" height=\"1\" /></td>\n </tr>\n <tr>\n <td bgcolor=\"#ffffff\" height=\"1\" style=\"font-size:0px; line-height:1px;\"><img src=\"http://image.email.ally.com/lib/fe651570746c03787615/m/1/spaceTrans.gif\" width=\"1\" height=\"1\" /></td>\n </tr>\n </table>\n \n </td>\n </tr>\n <tr>\n <td align=\"left\" class=\"textBlock\" bgcolor=\"#eeeeee\" style=\"padding-left:20px; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:16px; padding:25px 20px;\">\n You can expect to see the funds appear in your Wells Fargo Bank, Checking account on <span class=\"appleLinksGrey\"><nobr>Wednesday, September 30, 2015.</nobr></span><br /><br />\n \n If you didn't make this request, call us immediately at <span class=\"appleLinksGrey\"><nobr>877&#45;247&#45;ALLY</nobr> (2559)</span>. We're here&nbsp;<span class=\"appleLinksGrey\">24&#47;7</span>.\n</td>\n </tr>\n <tr>\n <td align=\"center\" bgcolor=\"#eeeeee\">\n <table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td bgcolor=\"#dadada\" height=\"1\" style=\"font-size:0px; line-height:1px;\"><img src=\"http://image.email.ally.com/lib/fe651570746c03787615/m/1/spaceTrans.gif\" width=\"1\" height=\"1\" /></td>\n </tr>\n <tr>\n <td bgcolor=\"#ffffff\" height=\"1\" style=\"font-size:0px; line-height:1px;\"><img src=\"http://image.email.ally.com/lib/fe651570746c03787615/m/1/spaceTrans.gif\" width=\"1\" height=\"1\" /></td>\n </tr>\n</table>\n </td>\n </tr>\n\n <!-- Questions? section -->\n \n <tr>\n <td class=\"mobile-hidden\" align=\"left\" bgcolor=\"#eeeeee\" style=\"padding:30px 20px; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:15px; \">\n <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\">\n <tr>\n <td valign=\"middle\" align=\"left\" style=\"padding-right:12px; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px;\"><strong>Questions?</strong></td>\n <td valign=\"middle\" align=\"left\" style=\"border-left:1px #999999 solid; padding-left:18px; padding-right:12px; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px;\">Call&nbsp;us&nbsp;<span class=\"appleLinksFtr\">24&#47;7</span>&nbsp;at<br /><nobr><span class=\"appleLinksFtr\">877<span>&#45;247&#45;</span>2559</span></nobr></td>\n <td valign=\"middle\" align=\"left\" style=\"border-left:1px #999999 solid; padding-left:18px; padding-right:12px; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px;\">Chat&nbsp;at<br /> \n <span class=\"appleLinksFtr\">allybank<span>&#46;com</span></span></td>\n <td valign=\"middle\" align=\"left\" style=\"border-left:1px #999999 solid; padding-left:18px;font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px;\">Log&nbsp;in&nbsp;and&nbsp;send&nbsp;a&nbsp;Secure&nbsp;Email<br />from&nbsp;the&nbsp;My&nbsp;Accounts&nbsp;menu</td>\n </tr>\n</table>\n\n </td>\n </tr>\n <!--[if !mso 9]><!-->\n <tr>\n <td align=\"center\" bgcolor=\"#eeeeee\" style=\"font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px;\">\n \n <div class=\"show\" style=\" display:none; width:0px; max-height:0px; overflow:hidden !important;\">\n <table width=\"320\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n <tr>\n <td width=\"70\" valign=\"middle\" align=\"left\" style=\"padding:20px 10px 20px 20px; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px;\"><strong>Questions?</strong></td>\n <td valign=\"middle\" align=\"left\" style=\"padding: 13px 10px 13px 0px; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; \"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >\n <tr>\n <td style=\" background-color:#f7f7f7; padding-top:10px; padding-right:12px; padding-bottom:10px; padding-left:12px; border:1px solid #CCCCCC\" align=\"left\"><a style=\"color: #006899; font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; font-size:14px; text-decoration: underline;\" href=\"tel:877-247-2559\"><span style=\"color:#006899; text-decoration: underline;\"><strong>Call&nbsp;Us&nbsp;at&nbsp;877-247-2559</strong></span></a></td>\n </tr>\n </table></td>\n </tr>\n </table>\n </div>\n </td>\n </tr>\n <!--<![endif]-->\n <!-- END Questions? section -->\n \n <!-- Footer -->\n <tr>\n <td align=\"left\" class=\"ftr\" bgcolor=\"#d8d8d8\" style=\"padding:30px 20px 30px 20px; font-family:'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; color:#505050; font-size:14px;\">\n Concerned you've received a suspicious email that isn't from Ally&nbsp;Bank? Call us at <span class=\"appleLinksFtr\"><nobr>877&#45;247&#45;ALLY</nobr> (2559)</span> and we'll investigate.<br /><br />\n Please do not reply to this email.<br /><br />\n \n Ally and Ally&nbsp;Bank are registered service marks.\n Ally&nbsp;Bank <strong>Member FDIC</strong>\n <br /><br />\n Email ID: <span class=\"applelinksFtr\">TN204-V2-RD14</span>\n </td>\n </tr>\n <!-- END Footer -->\n \n</table>\n\n <!-- End containing table -->\n </div></td>\n </tr>\n</table>\n<!-- End centering table -->\n</body>\n</html>",
"cc": [],
"date": 1443428886,
"events": [],
"files": [],
"from": [
{
"email": "email@transfers.ally.com",
"name": "Ally Bank"
}
],
"id": "1nr6nl9muiou3ptx2rlbtcvtm",
"labels": [
{
"display_name": "All Mail",
"id": "er7ed7zo00k3itzn5f39hmlnr",
"name": "all"
},
{
"display_name": "Inbox",
"id": "88i72euk07ody1d0c8m8c7qk7",
"name": "inbox"
}
],
"object": "message",
"reply_to": [
{
"email": "email@transfers.ally.com",
"name": ""
}
],
"snippet": "We received your request to make a transfer from Ally Bank, MMA Savings to Wells Fargo Bank, Checking. Ally Bank Alert Hello, Ben Bitdiddle Your request to make a transfer from Ally Bank, MMA",
"starred": false,
"subject": "We started your transfer request",
"thread_id": "3v72kvo9asj19uxjvlcuo8uzf",
"to": [
{
"email": "matt.murdock@gmail.com",
"name": ""
}
],
"unread": false
}
]