mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-15 06:06:35 +08:00
f56dc18690
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
48 lines
12 KiB
JSON
48 lines
12 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<!-- If you delete this meta tag, Half Life 3 will never be released. -->\n<meta name=\"viewport\" content=\"width=device-width\" />\n\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n<title>T-Mobile Easy Pay</title>\n\n<style>\n/*\n-------------------------------------\n\t\tGLOBAL\n-------------------------------------\n*/\n* {\n\tmargin:0;\n\tpadding:0;\n}\n* { font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif; }\n\nimg {\n\tmax-width: 100%;\n}\n.collapse {\n\tmargin:0;\n\tpadding:0;\n}\nbody {\n\t-webkit-font-smoothing:antialiased;\n\t-webkit-text-size-adjust:none;\n\twidth: 100%!important;\n\theight: 100%;\n}\n\n\n/*\n-------------------------------------\n\t\tELEMENTS\n-------------------------------------\n*/\na { color: #e20074;text-decoration:none;}\n\n.btn {\n\ttext-decoration:none;\n\tcolor: #FFF;\n\tbackground-color: #666;\n\tpadding:10px 16px;\n\tfont-weight:bold;\n\tmargin-right:10px;\n\ttext-align:center;\n\tcursor:pointer;\n\tdisplay: inline-block;\n}\n\ntable.social {\n/* \tpadding:15px; */\n\tbackground-color: #ebebeb;\n\n}\n.social .soc-btn {\n\tpadding: 3px 7px;\n\tfont-size:12px;\n\tmargin-bottom:10px;\n\ttext-decoration:none;\n\tcolor: #FFF;font-weight:bold;\n\tdisplay:block;\n\ttext-align:center;\n}\na.fb { background-color: #3B5998!important; }\na.tw { background-color: #1daced!important; }\na.gp { background-color: #DB4A39!important; }\na.ms { background-color: #000!important; }\n\n.sidebar .soc-btn {\n\tdisplay:block;\n\twidth:100%;\n}\n\n/*\n-------------------------------------\n\t\tHEADER\n-------------------------------------\n*/\ntable.head-wrap { width: 100%;}\n\n.header.container table td.logo { padding: 15px; }\n.header.container table td.label { padding: 15px; padding-left:0px;}\n.header.container .content{padding:15px 0;}\n.header.container .content a{font-weight:bold;}\n\n/*\n-------------------------------------\n\t\tBODY\n-------------------------------------\n*/\ntable.body-wrap { width: 100%;}\n.body-wrap .container{border:1px solid #a1a1a1;}\n\n/* -------------------------------------\n\t\tFOOTER\n------------------------------------- */\ntable.footer-wrap { width: 100%;\tclear:both!important;\n}\n.footer-wrap .container td.content p { border-top: 1px solid rgb(215,215,215); padding-top:15px;}\n.footer-wrap .container .content p {font-size:11px;}\n.footer-wrap .container .content p a{color:#696969;}\n.footer-wrap .container .content a.copy{color:#e20074;font-size:11px;}\n\n/*\n-------------------------------------\n\t\tTYPOGRAPHY\n-------------------------------------\n*/\nh1,h2,h3,h4,h5,h6 {\nfont-family: \"HelveticaNeue-Light\", \"Helvetica Neue Light\", \"Helvetica Neue\", Helvetica, Arial, \"Lucida Grande\", sans-serif; line-height: 1.1; margin-bottom:15px; color:#000;\n}\nh1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-size: 60%; color: #6f6f6f; line-height: 0; text-transform: none; }\n\nh1 { font-weight:200; font-size: 44px;}\nh2 { font-weight:200; font-size: 37px;}\nh3 { font-weight:200; font-size: 26px;font-style:italic;color:#e20074;}\nh4 { font-weight:500; font-size: 23px;}\nh5 { font-weight:900; font-size: 17px;}\nh6 { font-weight:900; font-size: 14px; text-transform: uppercase; color:#444;}\n\n.collapse { margin:0!important;}\n\np, ul {\n\tmargin-bottom: 15px;\n\tfont-weight: normal;\n\tfont-size:15px;\n\tline-height:1.6;\n\tcolor:#696969;\n}\np.salute { font-size:16px; color:#000;}\np.lead { font-size:15px;line-heigth:1.2em;}\np.lbl{font-size:11px;margin-bottom:0;line-height:5px;}\np.data{font-size:36px;font-weight:bold;color:#000;}\np.data.date{font-size:22px;font-weight:normal;padding:8px 0 0 0;}\np.last { margin-bottom:0px;}\np.callout{font-size:13px;}\n\nul li {\n\tmargin-left:5px;\n\tlist-style-position: inside;\n}\n\n/*\n-------------------------------------\n\t\tSIDEBAR\n-------------------------------------\n*/\nul.sidebar {\n\tbackground:#ebebeb;\n\tdisplay:block;\n\tlist-style-type: none;\n}\nul.sidebar li { display: block; margin:0;}\nul.sidebar li a {\n\ttext-decoration:none;\n\tcolor: #666;\n\tpadding:10px 16px;\n/* \tfont-weight:bold; */\n\tmargin-right:10px;\n/* \ttext-align:center; */\n\tcursor:pointer;\n\tborder-bottom: 1px solid #777777;\n\tborder-top: 1px solid #FFFFFF;\n\tdisplay:block;\n\tmargin:0;\n}\nul.sidebar li a.last { border-bottom-width:0px;}\nul.sidebar li a h1,ul.sidebar li a h2,ul.sidebar li a h3,ul.sidebar li a h4,ul.sidebar li a h5,ul.sidebar li a h6,ul.sidebar li a p { margin-bottom:0!important;}\n\n\n\n/*\n---------------------------------------------------\n\t\tRESPONSIVENESS\n\t\tNuke it from orbit. It's the only way to be sure.\n------------------------------------------------------\n*/\n\n/* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */\n.container {\n\tdisplay:block!important;\n\tmax-width:650px!important;\n\tmargin:0 auto!important; /* makes it centered */\n\tclear:both!important;\n}\n\n/* This should also be a block element, so that it will fill 100% of the .container */\n.content {\n\tpadding:30px;\n\tmax-width:650px;\n\tmargin:0 auto;\n\tdisplay:block;\n}\n\n/* Let's make sure tables in the content area are 100% wide */\n.content table { width: 100%; }\n\n\n/* Odds and ends */\n.column {\n\twidth: 300px;\n\tfloat:left;\n}\n.column tr td { padding: 15px; }\n.column-wrap {\n\tpadding:0!important;\n\tmargin:0 auto;\n\tmax-width:650px!important;\n}\n.column table { width:100%;}\n.social .column {\n\twidth: 280px;\n\tmin-width: 279px;\n\tfloat:left;\n}\n\n/* Be sure to place a .clear element after each set of columns, just to be safe */\n.clear { display: block; clear: both; }\n\n\n/*\n-------------------------------------------\n\t\tPHONE\n\t\tFor clients that support media queries.\n\t\tNothing fancy.\n--------------------------------------------\n*/\n@media only screen and (max-width: 650px) {\n\n\ta[class=\"btn\"] { display:block!important; margin-bottom:10px!important; background-image:none!important; margin-right:0!important;}\n\n\tdiv[class=\"column\"] { width: auto!important; float:none!important;}\n\n\ttable.social div[class=\"column\"] {\n\t\twidth:auto!important;\n\t}\n\n}\n</style>\n\n</head>\n\n<body bgcolor=\"#f2f2f2\" style=\"font-family: Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif; \">\n\n<!-- HEADER -->\n<table class=\"head-wrap\" bgcolor=\"#f2f2f2\" style=\"width:100%;font-family: Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif;\">\n\t<tr>\n\t\t<td></td>\n\t\t<td class=\"header container\" style=\"max-width:650px;\">\n\n\t\t\t\t<div class=\"content\">\n\t\t\t\t<table bgcolor=\"#f2f2f2\" style=\"width:100%;\">\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td><img src=\"http://images.ebilling.com/22191/tmo-headline.gif\" /></td>\n\t\t\t\t\t\t<td align=\"right\" style=\"font-family: Helvetica, Arial, sans-serif;\"><a style=\"text-decoration:none;color:#e20074;\" href=\"https://my.t-mobile.com/Login/MyTMobileLogin.aspx\" title=\"Go to My T-Mobile\">Go to My T-Mobile</a> <img src=\"http://images.ebilling.com/22191/arrow.gif\"></td>\n\t\t\t\t\t</tr>\n\t\t\t\t</table>\n\t\t\t\t</div>\n\n\t\t</td>\n\t\t<td></td>\n\t</tr>\n</table><!-- /HEADER -->\n\n\n<!-- BODY -->\n<table class=\"body-wrap\" bgcolor=\"#f2f2f2\" style=\"width:100%;font-family: Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif;\">\n\t<tr>\n\t\t<td></td>\n\t\t<td class=\"container\" bgcolor=\"#FFFFFF\" style=\"max-width:650px;\">\n\n\t\t\t<div class=\"content\" style=\"padding:30px;\">\n\t\t\t<table>\n\t\t\t\t<tr>\n\t\t\t\t\t<td colspan=\"2\" style=\"font-family: Helvetica, Arial, sans-serif;\">\n\t\t\t\t\t\t<h3>Your T-Mobile bill is available for review.</h3>\n\t\t\t\t\t\t<p class=\"salute\">Dear BEN,</p>\n\t\t\t\t\t\t<p class=\"lead\">Your bill for account number 573757288 for bill close date on 09/20/15 is ready. You may view it <a style=\"text-decoration:none;color:#e20074;\" href=\"https://account.my.t-mobile.com/billing/billing.html?cm_ven=email&cm_cat=account_management&cm_pla=paperless_billing&cm_ite=PaperlessBillingEmail\" title=\"Go To My T-Mobile\">here</a> anytime. </p>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr><td colspan=\"2\" height=\"10\"></td></tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td colspan=\"2\" style=\"font-family: Helvetica, Arial, sans-serif;\">\n\t\t\t\t\t\t<p class=\"lbl\" style=\"font-size:11px;margin-bottom:0;line-height:5px;\">BALANCE DUE</p>\n\t\t\t\t\t\t<p class=\"data\" style=\"font-size:36px;font-weight:bold;color:#000;\">$191.81</p>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td colspan=\"2\" style=\"font-family: Helvetica, Arial, sans-serif;\">\n\t\t\t\t\t\t<p>EasyPay payment scheduled for 10/10/15.</p>\n\t\t\t\t\t\t<p>Thank you,<br>\n\t\t\t\t\t\t\tT-Mobile Customer Care</p>\n\t\t\t\t\t\t<p class=\"callout\">This is an automated message; please do not reply to this email.</p>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t\t</div><!-- /content -->\n\n\t\t</td>\n\t\t<td></td>\n\t</tr>\n</table><!-- /BODY -->\n\n<!-- FOOTER -->\n<table class=\"footer-wrap\" bgcolor=\"#f2f2f2\" style=\"width:100%;font-family: Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif;\">\n\t<tr>\n\t\t<td></td>\n\t\t<td class=\"container\" style=\"max-width:650px;\">\n\n\t\t\t\t<!-- content -->\n\t\t\t\t<div class=\"content\" style=\"padding:30px;\">\n\t\t\t\t<table style=\"width:100%;text-align:center;\">\n\t\t\t\t<tr>\n\t\t\t\t\t<td align=\"center\" style=\"font-family: Helvetica, Arial, sans-serif;\">\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<a style=\"font-size:11px; color:#696969;text-decoration:none;\" href=\"http://www.t-mobile.com/Templates/Popup.aspx?PAsset=Ftr_Ftr_TermsOfUse\" target=\"_blank\">Terms of Use</a> |\n\t\t\t\t\t\t\t<a style=\"font-size:11px; color:#696969;text-decoration:none;\" href=\"http://www.t-mobile.com/Templates/Popup.aspx?PAsset=Ftr_Ftr_TermsAndConditions\" target=\"_blank\">Terms & Conditions</a> |\n\t\t\t\t\t\t\t<a style=\"font-size:11px; color:#696969;text-decoration:none;\" href=\"http://www.t-mobile.com/Templates/Popup.aspx?PAsset=Ftr_Ftr_ReturnPolicy&WT.z_unav=ftr__returnpolicy&print=true\" target=\"_blank\">Return Policy</a> |\n\t\t\t\t\t\t\t<a style=\"font-size:11px; color:#696969;text-decoration:none;\" href=\"http://www.t-mobile.com/company/website/privacypolicy.aspx\" target=\"_blank\">Privacy Policy</a>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td align=\"center\" style=\"font-family: Helvetica, Arial, sans-serif;\">\n\t\t\t\t\t\t<a class=\"copy\" style=\"font-size:11px; color:#e20074;text-decoration:none;\" href=\"http://www.t-mobile.com/Templates/Popup.aspx?PAsset=Ftr_Ftr_Copyright&print=true\" target=\"_blank\">\n\t\t\t\t\t\t\t©2002-2015 T-Mobile USA, Inc.\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t\t\t</div><!-- /content -->\n\n\t\t</td>\n\t\t<td></td>\n\t</tr>\n</table><!-- /FOOTER -->\n\n</body>\n</html>",
|
|
"cc": [],
|
|
"date": 1443121946,
|
|
"events": [],
|
|
"files": [],
|
|
"from": [
|
|
{
|
|
"email": "billing@paperless.t-mobile.com",
|
|
"name": "T-Mobile USA"
|
|
}
|
|
],
|
|
"id": "e6q53vmoy99cfli8ptoy9srl4",
|
|
"labels": [
|
|
{
|
|
"display_name": "All Mail",
|
|
"id": "er7ed7zo00k3itzn5f39hmlnr",
|
|
"name": "all"
|
|
},
|
|
{
|
|
"display_name": "Inbox",
|
|
"id": "88i72euk07ody1d0c8m8c7qk7",
|
|
"name": "inbox"
|
|
}
|
|
],
|
|
"object": "message",
|
|
"reply_to": [
|
|
{
|
|
"email": "billing@paperless.t-mobile.com",
|
|
"name": "T-Mobile USA"
|
|
}
|
|
],
|
|
"snippet": "Go to My T-Mobile Your T-Mobile bill is available for review. Dear BEN, Your bill for account number 758257285 for bill close date on 09/20/15 is ready. You may view it here anytime. BALA",
|
|
"starred": false,
|
|
"subject": "Your T-Mobile bill is now available",
|
|
"thread_id": "1dvueuid6fqudk971ibb4gngd",
|
|
"to": [
|
|
{
|
|
"email": "matt.murdock@gmail.com",
|
|
"name": ""
|
|
}
|
|
],
|
|
"unread": false
|
|
}
|
|
]
|