Mailspring/spec_integration/fixtures/test_account_data/threads/erhib2m5dv190ej22pie16sii.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

54 lines
21 KiB
JSON

[
{
"account_id": "743w8dzcwkpc0rkfnxmo7y6rn",
"bcc": [],
"body": "<div bgcolor=\"#ffffff\">\n<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"798\" style=\"border:1px solid #ffe153\">\n <tbody><tr> \n <td> \n \n\n <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"798\">\n <tbody><tr>\n <td align=\"left\" valign=\"top\">\n <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"798\">\n <tbody><tr>\n <td bgcolor=\"#ffffff\" align=\"left\" valign=\"middle\">\n \n<a href=\"http://click.global.expediamail.com/?qs=477b6339ebad63a97b535d375d18d92fa5b9610651f0af02fd40928cc2b05b65cd5a3b31ed4ca0b0d01a7bbb72021220\" target=\"_blank\">\n <img src=\"http://media.expedia.com/media/content/expus/graphics/mail/logo_1_hat_20100803_03.jpg\" alt=\"Expedia.com\" border=\"0\" align=\"middle\">\n</a>\n\n </td>\n <td bgcolor=\"#ffffff\" valign=\"top\" align=\"right\" width=\"100%\" height=\"51\" style=\"font-family:arial,helvetica,sans serif;font-size:14px;color:#666666\">\n <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tbody><tr>\n <td colspan=\"3\">\n <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n <tbody><tr>\n <td height=\"40\"></td>\n </tr>\n <tr>\n <td width=\"15\"></td>\n <td valign=\"bottom\" align=\"center\">\n <a href=\"http://click.global.expediamail.com/?qs=281450caa6db68ddd01a6fe908f9290de30a1b3df55c9cd4d4127314a0bb16f4247a9daa95a4edc7ed50b80877d9cbe8\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#3f3f3f;text-decoration:none\" target=\"_blank\">Flights</a>\n </td>\n <td width=\"15\" align=\"center\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#000000\">|</td>\n <td valign=\"bottom\" align=\"center\">\n <a href=\"http://click.global.expediamail.com/?qs=5a33757ed4b8d5233149107edb1ca1288edc6f0b7580e29b2a5267d30b30a0709143116b0f9d4b984b8f47652d8063f1\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#3f3f3f;text-decoration:none\" target=\"_blank\">Hotels</a>\n </td>\n <td width=\"15\" align=\"center\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#000000\">|</td>\n <td valign=\"bottom\" align=\"center\">\n <a href=\"http://click.global.expediamail.com/?qs=eacef533f07b6e6ec5049176208becdc62d7cad6576ca81b57fc49ad94cc7b16454f91edeb873034c5ef959687571e77\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#3f3f3f;text-decoration:none\" target=\"_blank\">Cars</a>\n </td>\n <td width=\"15\" align=\"center\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#000000\">|</td>\n <td valign=\"bottom\" align=\"center\">\n <a href=\"http://click.global.expediamail.com/?qs=59b432956558585ecfa6047d66967e70d67301ae3a94c1ec8678b7f76851f163e50bc8b761bf6a90d51792b0d830cc2d\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#3f3f3f;text-decoration:none\" target=\"_blank\">\n <u></u>Vacation Packages<u></u>\n </a>\n </td>\n <td width=\"15\" align=\"center\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#000000\">|</td>\n <td valign=\"bottom\" align=\"center\">\n <a href=\"http://click.global.expediamail.com/?qs=af0cec5ff90ee8cbaca630448c2c0c52da16c03edf69a24931ad6126987c03c945911f7b935b6f2f74751e9e9fda25aa\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#3f3f3f;text-decoration:none\" target=\"_blank\">Cruises</a>\n </td>\n <td width=\"15\" align=\"center\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#000000\">|</td>\n <td valign=\"bottom\" align=\"center\">\n <a href=\"http://click.global.expediamail.com/?qs=7539d6117779aa031f4e3ab853426a175a257b90d3a0da583cea7644459d3b58d437ba3974d753db8e4d8c0c2756ee14\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#3f3f3f;text-decoration:none\" target=\"_blank\">Activities</a>\n </td>\n <td width=\"15\" align=\"center\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#000000\">|</td>\n <td valign=\"bottom\" align=\"center\">\n <a href=\"http://click.global.expediamail.com/?qs=1b6ee6a75d934fa80725d9d541e0ec24e8d025c57883891fd78ac9d21ba6b22d4a9a7968474bdc192f745f961b074071\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;color:#3f3f3f;text-decoration:none\" target=\"_blank\">\n <u></u>DEALS &amp; OFFERS<u></u>\n </a>\n </td>\n <td width=\"20\"></td>\n </tr>\n </tbody></table>\n </td>\n </tr>\n <tr>\n <td height=\"16\" colspan=\"3\"></td>\n </tr>\n\n </tbody></table>\n\n </td>\n </tr>\n <tr>\n <td colspan=\"3\" bgcolor=\"#ffffff\">\n <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <tbody><tr>\n <td bgcolor=\"#ffffff\" width=\"5\" height=\"2\"></td>\n <td width=\"790\" bgcolor=\"#ffd200\" height=\"2\"></td>\n <td width=\"5\" bgcolor=\"#ffffff\" height=\"2\"></td>\n </tr>\n </tbody></table>\n </td>\n </tr>\n </tbody></table>\n </td>\n </tr>\n </tbody></table>\n \n </td>\n </tr>\n <tr>\n <td>\n \n<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"798\" style=\"font-family:arial,helvetica,sans serif\">\n <tbody><tr>\n <td width=\"80\"></td>\n <td>\n <table cellpadding=\"0\" cellspacing=\"5\" border=\"0\" width=\"798\" style=\"font-size:12px\">\n <tbody><tr>\n <td width=\"798\" align=\"center\" style=\"font-weight:bold;padding-top:20px\">CANCELED FLIGHT CREDIT VOUCHER</td>\n </tr>\n <tr>\n <td width=\"798\" align=\"center\" style=\"color:red;font-weight:bold\">Important:</td>\n </tr>\n <tr>\n <td width=\"798\" align=\"center\" style=\"color:red;font-weight:bold\">Please retain a copy of this email, as it serves as your flight credit voucher.</td>\n </tr>\n </tbody></table>\n\n <table cellpadding=\"0\" cellspacing=\"16\" border=\"0\" width=\"718\" style=\"font-size:12px\">\n <tbody><tr>\n <td>\n Dear Jon Gotow,<br>\n <br>\n Per your request, we canceled your flight reservation.\n <br>\n <span style=\"font-weight:bold;font-size:14px\">You have a credit voucher with United for $367.60.</span><br>\n <br>\n\n To use your credit voucher for a new Expedia travel itinerary, please do the following:<br>\n <br>\n\n <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"margin-left:20px;font-size:12px\">\n <tbody><tr>\n <td valign=\"top\" style=\"padding-right:10px\">1.</td>\n <td>Search for alternative flights at <a href=\"http://click.global.expediamail.com/?qs=281450caa6db68ddd01a6fe908f9290de30a1b3df55c9cd4d4127314a0bb16f4247a9daa95a4edc7ed50b80877d9cbe8\" target=\"_blank\">Expedia.com/flights</a>, with the following in mind:\n\n <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"margin-left:20px;font-size:12px\">\n <tbody><tr>\n <td valign=\"top\" style=\"padding-right:10px\">a.</td>\n <td>At least one leg of your flight must be on <b>United</b>.</td>\n </tr>\n <tr>\n <td valign=\"top\" style=\"padding-right:10px\">b.</td>\n <td>Generally, airline credits must be used to book and complete travel one year from the original date of purchase. As airline rules governing your airline credit are restrictive, please carefully review the Fare Rules.</td>\n </tr>\n <tr>\n <td valign=\"top\" style=\"padding-right:10px\">c.</td>\n <td>Credits are issued for each traveler and are non-transferable.</td>\n </tr>\n </tbody></table>\n </td>\n </tr>\n <tr>\n <td valign=\"top\" style=\"padding-right:10px\">2.</td>\n <td>Call <b><a href=\"tel:1-800-237-1078\" value=\"+18002371078\" target=\"_blank\">1-800-237-1078</a></b> to book your new itinerary. Please provide the <b>itinerary number <a href=\"tel:%281117736000918\" value=\"+17736000918\" target=\"_blank\">(1117736000918</a>)</b> and <b>airline confirmation code ()</b> to the representative.\n\n \n\n\n </td>\n </tr>\n </tbody></table>\n <br>\n <b>*A note about airline rebooking fees:</b>\n <br>\n <br>\n The airline collects a rebooking fee when you redeem your credit voucher. This fee varies, typically ranging between $100 and $300 per person. Many airlines will not allow a credit to be applied towards the rebooking fee.\n <br>\n <br>\n <b>Your total rebooking fee applicable to this itinerary is $200.00.</b>\n <br>\n <br>\n \n <br>\n If you have any questions about this credit voucher, or you are ready to book a new itinerary, please call <a href=\"tel:1-800-237-1078\" value=\"+18002371078\" target=\"_blank\">1-800-237-1078</a> to speak to an Expedia Customer Service representative.\n\n </td>\n </tr>\n\n </tbody></table>\n\n \n <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"798\">\n <tbody><tr>\n <td width=\"300\" height=\"30\" bgcolor=\" #ffed98\" style=\"padding-left:10px;font-family:arial,helvetica,sans serif;font-size:16px;color:#336699;font-weight:bold\">Canceled Trip Details</td>\n </tr>\n <tr>\n <td>\n <table width=\"798\" cellpadding=\"5\" cellspacing=\"0\" border=\"0\">\n <tbody><tr>\n <td width=\"266\">\n\n \n\n </td>\n <td width=\"266\" valign=\"top\">\n <table style=\"margin-left:15px;font-size:12px\">\n <tbody><tr>\n <td>\n <b>Expedia Itinerary No.:</b> <a href=\"tel:1117736000918\" value=\"+17736000918\" target=\"_blank\">1117736000918</a><br>\n </td>\n </tr>\n <tr>\n <td>\n <b>Airline confirmation code:</b> \n </td>\n </tr>\n <tr>\n <td height=\"10\"></td>\n </tr>\n <tr>\n <td>\n <b>Traveler Information:</b>\n </td>\n </tr>\n \n <tr>\n <td>\n Jon Gotow\n </td>\n </tr>\n\n \n </tbody></table>\n </td>\n <td width=\"266\" style=\"font-size:16;font-weight:bold;color:#0070c0\">Total Airline Credit: $367.60</td>\n </tr>\n </tbody></table>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n</tbody></table>\n\n\n<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"798\">\n <tbody><tr>\n <td height=\"5\" bgcolor=\"#ffffff\">\n </td>\n </tr>\n <tr>\n <td style=\"background-color:#ffed98\">\n <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" style=\"background-color:#ffed98\">\n <tbody><tr>\n <td width=\"5\">\n </td>\n <td valign=\"bottom\">\n <a href=\"http://click.global.expediamail.com/?qs=281450caa6db68ddd01a6fe908f9290de30a1b3df55c9cd4d4127314a0bb16f4247a9daa95a4edc7ed50b80877d9cbe8\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000;text-decoration:none\" target=\"_blank\">Flights</a>\n </td>\n <td style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000\">\n |\n </td>\n <td valign=\"bottom\">\n <a href=\"http://click.global.expediamail.com/?qs=5a33757ed4b8d5233149107edb1ca1288edc6f0b7580e29b2a5267d30b30a0709143116b0f9d4b984b8f47652d8063f1\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000;text-decoration:none\" target=\"_blank\">Hotels</a>\n </td>\n <td style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000\">\n |\n </td>\n <td valign=\"bottom\">\n <a href=\"http://click.global.expediamail.com/?qs=eacef533f07b6e6ec5049176208becdc62d7cad6576ca81b57fc49ad94cc7b16454f91edeb873034c5ef959687571e77\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000;text-decoration:none\" target=\"_blank\">Cars</a>\n </td>\n <td style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000\">\n |\n </td>\n <td valign=\"bottom\">\n <a href=\"http://click.global.expediamail.com/?qs=59b432956558585ecfa6047d66967e70d67301ae3a94c1ec8678b7f76851f163e50bc8b761bf6a90d51792b0d830cc2d\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000;text-decoration:none\" target=\"_blank\">\n <u></u>Vacation Packages<u></u>\n </a>\n </td>\n <td style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000\">\n |\n </td>\n <td valign=\"bottom\">\n <a href=\"http://click.global.expediamail.com/?qs=af0cec5ff90ee8cbaca630448c2c0c52da16c03edf69a24931ad6126987c03c945911f7b935b6f2f74751e9e9fda25aa\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000;text-decoration:none\" target=\"_blank\">Cruises</a>\n </td>\n <td style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000\">\n |\n </td>\n <td valign=\"bottom\">\n <a href=\"http://click.global.expediamail.com/?qs=7539d6117779aa031f4e3ab853426a175a257b90d3a0da583cea7644459d3b58d437ba3974d753db8e4d8c0c2756ee14\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000;text-decoration:none\" target=\"_blank\">Activities</a>\n </td>\n <td style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000\">\n |\n </td>\n <td valign=\"bottom\">\n <a href=\"http://click.global.expediamail.com/?qs=1b6ee6a75d934fa80725d9d541e0ec24e8d025c57883891fd78ac9d21ba6b22d4a9a7968474bdc192f745f961b074071\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000;text-decoration:none\" target=\"_blank\">\n <u></u>Deals &amp; Destinations<u></u>\n </a>\n </td>\n \n <td style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000\">\n |\n </td>\n <td valign=\"bottom\">\n <a href=\"http://click.global.expediamail.com/?qs=1ed5bf8d40890fe4c5486eb60782ee5ef08389a1cea428169a68cd55405a17a423ff5bf25b39cccf946518a7f38393a2\" style=\"font-family:arial,helvetica,sans serif;font-size:12px;font-weight:bold;color:#000000;text-decoration:none\" target=\"_blank\">Rewards</a>\n </td>\n \n </tr>\n </tbody></table>\n </td>\n </tr>\n</tbody></table>\n\n\n<table cellpadding=\"0\" cellspacing=\"16\" width=\"100%\" border=\"0\">\n <tbody><tr>\n <td>\n <font style=\"font-family:arial,helvetica,sans serif;font-size:9px;line-height:10px;font-weight:bold;color:#666666\">\n You are receiving this transactional email based on a recent booking or account-related update on Expedia.com.<br><br>\n CST# 2029030-40 <br><br>\n \u00a9 2015 Expedia, Inc. All rights reserved. Expedia, Expedia Extras, Best Price Guarantee, Trend Tracker, Insiders&#39; Select and the Airplane logos are registered trademarks, or trademarks, of Expedia, Inc. in the U.S. and/or other countries. Other product and company names mentioned herein may be trademarks of their respective owners.\n\n \n\n </font>\n </td>\n </tr>\n</tbody></table>\n\n \n <u></u>\n \n <u></u>\n </td> \n </tr>\n </tbody></table>\n </div>\n \n\n\n</div><br></div>",
"cc": [],
"date": 1443842503,
"events": [],
"files": [],
"from": [
{
"email": "cancellations@expedia.com",
"name": "Expedia Cancellations"
}
],
"id": "e0sz39n9zllr1wxlp49fqj54j",
"labels": [
{
"display_name": "Important",
"id": "cpimvyt4yhzgif0vxjytvafy4",
"name": "important"
},
{
"display_name": "Inbox",
"id": "88i72euk07ody1d0c8m8c7qk7",
"name": "inbox"
},
{
"display_name": "All Mail",
"id": "er7ed7zo00k3itzn5f39hmlnr",
"name": "all"
},
{
"display_name": "Travel",
"id": "cpimvyt4yhzgif0vxjytvafyz",
"name": null
}
],
"object": "message",
"reply_to": [],
"snippet": "Canceled Flight Credit Voucher ",
"starred": false,
"subject": "Itinerary No: 1117736000918 - Canceled Flight Credit Voucher & Vacation Packages",
"thread_id": "erhib2m5dv190ej22pie16sii",
"to": [
{
"email": "nora@nylas.com",
"name": "Nora Goldman"
}
],
"unread": true
}
]