Add notmuch crate for interacting with email through CLI.
This commit is contained in:
63
notmuch/testdata/thread_set.json
vendored
Normal file
63
notmuch/testdata/thread_set.json
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
[
|
||||
[
|
||||
[
|
||||
{
|
||||
"id": "4khpM7BF.1187467196.1017920.wathiede.xinu@localhost",
|
||||
"match": true,
|
||||
"excluded": false,
|
||||
"filename": [
|
||||
"/file/path/email.txt"
|
||||
],
|
||||
"timestamp": 1187467196,
|
||||
"date_relative": "2007-08-18",
|
||||
"tags": [
|
||||
"inbox"
|
||||
],
|
||||
"body": [
|
||||
{
|
||||
"id": 1,
|
||||
"content-type": "multipart/mixed",
|
||||
"content": [
|
||||
{
|
||||
"id": 2,
|
||||
"content-type": "text/plain",
|
||||
"content-disposition": "inline",
|
||||
"content": "Spam detection software"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"content-type": "message/rfc822",
|
||||
"content-disposition": "inline",
|
||||
"content": [
|
||||
{
|
||||
"headers": {
|
||||
"Subject": "Re: Registration goof",
|
||||
"From": "\"Bill Thiede\" <Bill@xinu.tv>",
|
||||
"To": "jimpark@med.umich.edu, registration@a2ultimate.org",
|
||||
"Date": "Sat, 18 Aug 2007 15:59:56 -0400"
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"id": 4,
|
||||
"content-type": "text/plain",
|
||||
"content": "Hello"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"crypto": {},
|
||||
"headers": {
|
||||
"Subject": "Re: Registration goof",
|
||||
"From": "\"Bill Thiede\" <Bill@xinu.tv>",
|
||||
"To": "jimpark@med.umich.edu, registration@a2ultimate.org",
|
||||
"Date": "Sat, 18 Aug 2007 15:59:56 -0400"
|
||||
}
|
||||
},
|
||||
[]
|
||||
]
|
||||
]
|
||||
]
|
||||
Reference in New Issue
Block a user