mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-15 14:20:38 +08:00
e1271cf25c
Summary: We may find it useful at some point to be able to tell which messages in a user's mailbox were sent using N1/the REST API vs Nylas Mail. Test Plan: manual Reviewers: evan, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D3631
53 lines
3.2 KiB
JavaScript
53 lines
3.2 KiB
JavaScript
module.exports = {
|
|
A: {
|
|
id: 1,
|
|
accountId: 'test-account-id',
|
|
subject: "This is an email",
|
|
body: "<head></head><body>Hi Jackie,<div><div>While browsing Nylas themes, I stumbled upon your website and looked at your work. </div><div>Great work on projects, nice to see your multidisciplinary interests :)</div><div><div><br></div><!-- <signature> -->Thanks, <div>Sagar Sutar</div><div>thesagarsutar.me</div><!-- </signature> --></div></div><img class=\"n1-open\" width=\"0\" height=\"0\" style=\"border:0; width:0; height:0;\" src=\"https://link.nylas.com/open/8w734mdm7q9ivpc0cnq3ousy3/local-7b7d5479-575c?r=amFja2llaGx1b0BnbWFpbC5jb20=\"></body>",
|
|
headers: {
|
|
"x-gm-thrid": "GMAILTHREAD1",
|
|
"Delivered-To": "jackiehluo@gmail.com",
|
|
"Date": "Fri, 17 Jun 2016 09:38:44 -0700 (PDT)",
|
|
"Message-Id": "<82y7eq1ipmadaxwcy6kr072bw-2147483647@nylas-mail.nylas.com>",
|
|
"X-Inbox-Id": "82y7eq1ipmadaxwcy6kr072bw-2147483647",
|
|
},
|
|
from: [{
|
|
name: "Sagar Sutar",
|
|
email: "<sagar_s@nid.edu>",
|
|
}],
|
|
to: [{
|
|
name: "jackiehluo@gmail.com",
|
|
email: "<jackiehluo@gmail.com>",
|
|
}],
|
|
cc: [],
|
|
bcc: [],
|
|
headerMessageId: "<82y7eq1ipmadaxwcy6kr072bw-2147483647@nylas-mail.nylas.com>",
|
|
snippet: "Hi Jackie, While browsing Nylas themes, I stumbled upon your website and looked at your work. Great ",
|
|
},
|
|
B: {
|
|
id: 2,
|
|
accountId: 'test-account-id',
|
|
subject: "This is a reply with a different subject",
|
|
body: "<head></head><body>Sagar,<div><div><br></div><div>Aw, glad to hear it! Thanks for getting in touch!</div><br><!-- <signature> -->Jackie Luo<div>Software Engineer, Nylas</div><br><!-- </signature> --></div><div class=\"gmail_quote\">On Jun 17 2016, at 9:38 am, Sagar Sutar <sagar_s@nid.edu> wrote:<br><blockquote class=\"gmail_quote\" style=\"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;\">Hi Jackie,<div><div>While browsing Nylas themes, I stumbled upon your website and looked at your work. </div><div>Great work on projects, nice to see your multidisciplinary interests :)</div><div><div><br></div>Thanks, <div>Sagar Sutar</div><div>thesagarsutar.me</div></div></div><img width=\"0\" height=\"0\" style=\"border:0; width:0; height:0;\" src=\"https://link.nylas.com/open/8w734mdm7q9ivpc0cnq3ousy3/local-7b7d5479-575c?r=amFja2llaGx1b0BnbWFpbC5jb20=\"></blockquote></div></body>",
|
|
headers: {
|
|
"x-gm-thrid": "GMAILTHREAD2",
|
|
"Date": "Fri, 17 Jun 2016 18:20:47 +0000",
|
|
"References": "<82y7eq1ipmadaxwcy6kr072bw-2147483647@nylas-mail.nylas.com>",
|
|
"In-Reply-To": "<82y7eq1ipmadaxwcy6kr072bw-2147483647@nylas-mail.nylas.com>",
|
|
"Message-Id": "<cq08iqwatp00kai4qnff7zbaj-2147483647@nylas-mail.nylas.com>",
|
|
"X-Inbox-Id": "cq08iqwatp00kai4qnff7zbaj-2147483647",
|
|
},
|
|
from: [{
|
|
name: "Jackie Luo",
|
|
email: "<jackiehluo@gmail.com>",
|
|
}],
|
|
to: [{
|
|
name: "Sagar Sutar",
|
|
email: "<sagar_s@nid.edu>",
|
|
}],
|
|
cc: [],
|
|
bcc: [],
|
|
headerMessageId: "<cq08iqwatp00kai4qnff7zbaj-2147483647@nylas-mail.nylas.com>",
|
|
snippet: "Sagar, Aw, glad to hear it! Thanks for getting in touch! Jackie Luo Software Engineer, Nylas",
|
|
},
|
|
};
|