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

48 lines
11 KiB
JSON

[
{
"account_id": "1nqpfzd0l7djj2xhega8i3iyc",
"bcc": [],
"body": "<html>\n<body>\n\n<style type=\"text/css\">\n body {\n margin-top: 0;\n }\n p, table, div, td {\n max-width: 480px;\n }\n\n a {\n color: #DB4C3F;\n }\n\n @media only screen and (max-device-width: 480px) {\n body {\n width: 320px !important;\n }\n\n table[class=contenttable]{ \n width: 320px !important;\n }\n\n div[class=wrapper]{ \n width: 320px !important;\n }\n }\n</style>\n\n<div style=\"width: 100%; max-width: 480px; margin: 0 auto 20px; font-size: 14px; font-family:'Helvetica Neue', helvetica, arial, sans-serif;\" class=\"wrapper\" align=\"center\">\n<div align=\"left\">\n \n\n\n\n\n\n\n<script type=\"application/ld+json\">\n{\n \"@context\": \"http://schema.org\",\n \"@type\": \"EmailMessage\",\n \"action\": {\n \"@type\": \"ViewAction\",\n \"url\": \"https://todoist.com/secureRedirect?path=%2Fapp&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0NDM4NzM2MzYsImp0aSI6ImRyVVp0bkxFIiwidWlkIjo1MTI1ODEwLCJjc3JmIjowfQ.NfSiwY0N6mV7oVzvstwgKfIvEwrDzk692Ujw-5yORQo\",\n \"name\": \"View in Todoist\"\n },\n \"description\": \"Review your daily agenda on Todoist\"\n}\n</script>\n\n \n <table style=\"border-top: 3px solid #DB4C3F; max-width: 600px;\" class=\"contenttable\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\">\n<tr>\n <td style=\"padding-top: 30px; padding-bottom: 60px;\" width=\"85%\">\n <a href=\"http://todoist.com/\"><img src=\"https://d3ptyyxy2at9ui.cloudfront.net/366279f31b74409595d2b8c0bc0f24f3.png\" border=\"0\" height=\"30\" /></a>\n </td>\n</tr>\n</table>\n\n\n\n\n<p style=\"line-height:24px; font-size: 14px; margin-top: 24px; margin-bottom: 0px; font-family:'Helvetica Neue',helvetica,sans-serif; color: #474747\">\n\nHi benbitdiddle\n\n</p>\n\n\n \n\n<p style=\"line-height:24px; font-size: 14px; margin-top: 0; margin-bottom: 0px; font-family:'Helvetica Neue',helvetica,sans-serif; color: #474747\">\n\n Yesterday you completed <b>1</b> task(s).\n \n</p>\n\n\n\n\n\n \n \n <table style=\"font-size: 16px; padding-top: 48px; font-family:'Helvetica Neue', helvetica, arial, sans-serif; color: #474747; font-weight: normal; margin-bottom: 10px;\" cellspacing=\"0\" cellpadding=\"0\"> <tr>\n<td>\nOVERDUE\n</td> </tr> </table>\n\n\n \n\n \n\n <table style=\"color: #aaaaaa; font-size: 11px; margin-top: 8px;\">\n <tr>\n <td style=\"white-space: nowrap; padding-left: 17px;\">\n 7 day(s) ago\n </td>\n </tr>\n </table>\n\n \n<table style=\"font-size: 14px; width: 100%; max-width: 600px; padding-top: 0px; font-family:'Helvetica Neue',helvetica,sans-serif; color: #474747\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"contenttable\">\n <tr>\n \n\n <td style=\"padding-right: 10px; background-color: #ffffff\"></td>\n\n <td style=\"padding-right: 5px;\">&nbsp;</td>\n\n <td style=\"padding-top: 7px; padding-bottom: 7px; border-bottom: 1px solid #f0f0f0; \" width=\"99%\"> \n Digitize grandmas recipes\n </td>\n\n <td style=\"white-space: nowrap; border-bottom: 1px solid #f0f0f0;\">\n\n<a href=\"https://todoist.com/secureRedirect?path=%2Fapp&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0NDM4NzM2MzYsImp0aSI6IkpQd1pFVEllIiwidWlkIjo1MTI1ODEwLCJjc3JmIjowfQ.GpEELDVaxKynsfGDPWsndDA3C8eNBixE6eF5HGX-deo#project/149074586utm_source=lc&utm_medium=email&utm_campaign=daily_digest\" style=\"font-size: 11px; color: #999999; text-decoration: none;\">Inbox <span style=\"font-size: 17px; font-weight: bold; color: #dddddd;\">\u25cf</span></a>\n</td>\n </tr>\n</table>\n\n <div style=\"padding-top: 10px; padding-left: 19px;\"><a href=\"https://todoist.com/secureRedirect?path=%2Fapp&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0NDM4NzM2MzYsImp0aSI6IlBJakZzZklGIiwidWlkIjo1MTI1ODEwLCJjc3JmIjowfQ.h0eF2pifBIJY23hAcluS1pHNlGo10AC7QiPW3BhJwvo#agenda/overdueutm_source=lc&utm_medium=email&utm_campaign=daily_digest\" style=\"line-height:22px; font-size: 14px; margin:20px 0; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; color: #DB4C3F; white-space: nowrap;\">View in Todoist...</a></div>\n\n\n \n <table style=\"font-size: 16px; padding-top: 48px; font-family:'Helvetica Neue', helvetica, arial, sans-serif; color: #474747; font-weight: normal; margin-bottom: 10px;\" cellspacing=\"0\" cellpadding=\"0\"> <tr>\n<td>\nKARMA TREND\n</td> </tr> </table>\n\n\n <div style=\"padding-left: 17px;\">\n\n \n\n<p style=\"line-height:24px; font-size: 14px; margin-top: 0; margin-bottom: 0px; font-family:'Helvetica Neue',helvetica,sans-serif; color: #474747\">\n\n <img src=\"https://d3ptyyxy2at9ui.cloudfront.net/fcae90c9c371ba0f97c640d8628f1098.png\" alt=\"\" width=\"16\" style=\"padding-right: 5px; vertical-align: middle; margin-top: -5px;\" />\n You are a <b>novice</b>. Your karma is <b>983</b>.\n\n <div style=\"padding-top: 5px;\">\n <a href=\"https://todoist.com/secureRedirect?path=%2Fapp&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0NDM4NzM2MzYsImp0aSI6IlVzWnBzZmJCIiwidWlkIjo1MTI1ODEwLCJjc3JmIjowfQ.C1F_wqeRcP2cglK_qWh1PXCznwSMKA2xltwYIUgxf0o#karma_infoutm_source=lc&utm_medium=email&utm_campaign=daily_digest\" style=\"line-height:22px; font-size: 14px; margin:20px 0; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; color: #DB4C3F; white-space: nowrap;\">Todoist Karma Help</a>\n </div>\n </div>\n \n</p>\n\n\n<br />\n\n\n\n<p style=\"line-height:24px; font-size: 14px; margin-top: 24px; margin-bottom: 0px; font-family:'Helvetica Neue',helvetica,sans-serif; color: #474747\">\n\n<span style=\"color: #888888; font-size: 12px;\">\n <b>Get our Free Apps:</b>\n <table cellspacing=\"0\">\n <tr>\n <td width=\"25%\"><a href=\"http://todoist.com/android#utm_source=lc&utm_medium=email&utm_campaign=daily_digest\" style=\"line-height:22px; font-size: 11px; margin:20px 0; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; color: #888888; white-space: nowrap;\">Android</a></td>\n <td width=\"25%\"><a href=\"http://todoist.com/iphone#utm_source=lc&utm_medium=email&utm_campaign=daily_digest\" style=\"line-height:22px; font-size: 11px; margin:20px 0; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; color: #888888; white-space: nowrap;\">iPhone</a></td>\n <td width=\"25%\"><a href=\"http://todoist.com/ipad#utm_source=lc&utm_medium=email&utm_campaign=daily_digest\" style=\"line-height:22px; font-size: 11px; margin:20px 0; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; color: #888888; white-space: nowrap;\">iPad</a></td>\n </tr>\n\n <tr>\n <td width=\"25%\"><a href=\"http://todoist.com/windows#utm_source=lc&utm_medium=email&utm_campaign=daily_digest\" style=\"line-height:22px; font-size: 11px; margin:20px 0; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; color: #888888; white-space: nowrap;\">Windows</a></td>\n <td width=\"25%\"><a href=\"http://todoist.com/mac#utm_source=lc&utm_medium=email&utm_campaign=daily_digest\" style=\"line-height:22px; font-size: 11px; margin:20px 0; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; color: #888888; white-space: nowrap;\">Mac OS</a> </td>\n <td width=\"25%\"><a href=\"http://todoist.com/chrome#utm_source=lc&utm_medium=email&utm_campaign=daily_digest\" style=\"line-height:22px; font-size: 11px; margin:20px 0; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; color: #888888; white-space: nowrap;\">Chrome</a></td>\n </tr>\n </table>\n</span>\n<br />\n<span style=\"color: #888888; font-size: 12px;\">\n <b>Help your team get things done faster:</b>\n <br />\n <a href=\"https://todoist.com/business#utm_source=lc&utm_medium=email&utm_campaign=daily_digest\" style=\"line-height:22px; font-size: 11px; margin:20px 0; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; color: #888888; white-space: nowrap;\">Todoist For Business</a>\n</span>\n\n</p>\n\n\n\n\n<table style=\"margin-top: 47px; padding-top: 8px; line-height:20px; font-size: 10px; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; color: #BCBCBC; border-top-style:solid; border-top-width:1px; border-top-color:#DDDDDD; width: 100%; max-width: 600px;\" class=\"contenttable\" cellspacing=\"0\" cellpadding=\"0\">\n<tr><td>\n \n If you no longer wish to receive Todoist emails, <a style=\"color: #BCBCBC\" href=\"https://todoist.com/secureRedirect?path=%2Funsubscribe%3Fm_type%3D4&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0NDM4NzM2MzYsImp0aSI6ImdzZkx3YWZlIiwidWlkIjo1MTI1ODEwLCJjc3JmIjoxfQ.bncOM7_WP1wjaLUX0o95kdTlmCeyQBKGjpf17rhUwOY#utm_source=unsubscribe&utm_medium=email&utm_campaign=daily_digest\">click here to unsubscribe</a>.\n</tr></table>\n\n\n\n\n\n\n\n</div>\n</div>\n\n<img src=\"https://em.todoist.com/wf/open?upn=xmuy61ZZbXRe6Yf0bjbcN8-2Bh9L4V-2FUxhT-2BOQHU8Ad9VkbzMXhQih9af6dJN0RrY2zXoYRrpvZN6HLAGttWgXpbiq4bfzhFSFKHAK39ZaI0Ai9Czc7ceySxl9Ena7M-2FU3oSIJwq29Z9NFAOoUoszRiiCAwxNy5sVGZMVUXxVP-2FrYrGEo6jzXNLB56Qp7SKAUECwkoYz9vwb8LyMseFVF-2BG3oO3wpAUtTwA6U-2FC0tGDY4-3D\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" style=\"height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;\"/>\n</body>\n</html>",
"cc": [],
"date": 1443268838,
"events": [],
"files": [],
"from": [
{
"email": "daily-digest@todoist.com",
"name": "Todoist Digest"
}
],
"id": "exmrg6rdsrrv3uh17a7ej90bh",
"labels": [
{
"display_name": "Inbox",
"id": "88i72euk07ody1d0c8m8c7qk7",
"name": "inbox"
},
{
"display_name": "All Mail",
"id": "er7ed7zo00k3itzn5f39hmlnr",
"name": "all"
},
{
"display_name": "Housekeeping",
"id": "cpimvyt4yhzgif0vxjytvafyq",
"name": null
}
],
"object": "message",
"reply_to": [],
"snippet": "Hi benbitdiddle Yesterday you completed 1 task(s). OVERDUE 7 day(s) ago Digitize grandmas recipes Inbox \u25cf View in Todoist... KARMA TREND You are a novice. Your karma is 983. Todoist Karma Help ",
"starred": false,
"subject": "Todoist Sep 26 (1 overdue)",
"thread_id": "ojsmz3vyp6gic34y5yz1pifz",
"to": [
{
"email": "matt.murdock@gmail.com",
"name": ""
}
],
"unread": false
}
]