gmail 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +27 -27
  4. data/.rspec +1 -1
  5. data/.rubocop.yml +53 -13
  6. data/.rubocop_todo.yml +299 -239
  7. data/.travis.yml +19 -19
  8. data/CHANGELOG.md +152 -145
  9. data/Gemfile +5 -3
  10. data/LICENSE +21 -21
  11. data/README.md +380 -355
  12. data/Rakefile +44 -46
  13. data/gmail.gemspec +32 -34
  14. data/lib/gmail.rb +72 -78
  15. data/lib/gmail/client.rb +35 -34
  16. data/lib/gmail/client/base.rb +244 -229
  17. data/lib/gmail/client/plain.rb +24 -24
  18. data/lib/gmail/client/xoauth.rb +67 -68
  19. data/lib/gmail/client/xoauth2.rb +39 -39
  20. data/lib/gmail/imap_extensions.rb +156 -159
  21. data/lib/gmail/labels.rb +80 -79
  22. data/lib/gmail/mailbox.rb +178 -175
  23. data/lib/gmail/message.rb +212 -207
  24. data/lib/gmail/version.rb +3 -3
  25. data/spec/account.yml.example +1 -1
  26. data/spec/account.yml.obfus +2 -2
  27. data/spec/gmail/client/base_spec.rb +5 -5
  28. data/spec/gmail/client/plain_spec.rb +169 -169
  29. data/spec/gmail/client/xoauth2_spec.rb +186 -186
  30. data/spec/gmail/client/xoauth_spec.rb +5 -5
  31. data/spec/gmail/client_spec.rb +5 -5
  32. data/spec/gmail/imap_extensions_spec.rb +47 -47
  33. data/spec/gmail/labels_spec.rb +27 -27
  34. data/spec/gmail/mailbox_spec.rb +84 -84
  35. data/spec/gmail/message_spec.rb +181 -181
  36. data/spec/gmail_spec.rb +40 -39
  37. data/spec/recordings/gmail/_new_connects_with_client_and_give_it_context_when_block_given.yml +61 -28
  38. data/spec/recordings/gmail/_new_connects_with_gmail_service_and_return_valid_connection_object.yml +43 -28
  39. data/spec/recordings/gmail/_new_does_not_raise_error_when_couldn_t_connect_with_given_account.yml +21 -13
  40. data/spec/recordings/gmail/_new_raises_error_when_couldn_t_connect_with_given_account.yml +21 -13
  41. data/spec/recordings/gmail_client_plain/instance/delivers_inline_composed_email.yml +61 -42
  42. data/spec/recordings/gmail_client_plain/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +21 -13
  43. data/spec/recordings/gmail_client_plain/instance/does_not_raise_error_even_though_gmail_account_is_invalid.yml +21 -13
  44. data/spec/recordings/gmail_client_plain/instance/labels/checks_if_there_is_given_label_defined.yml +409 -196
  45. data/spec/recordings/gmail_client_plain/instance/labels/creates_given_label.yml +280 -151
  46. data/spec/recordings/gmail_client_plain/instance/labels/removes_existing_label.yml +271 -146
  47. data/spec/recordings/gmail_client_plain/instance/labels/returns_list_of_all_available_labels.yml +227 -113
  48. data/spec/recordings/gmail_client_plain/instance/properly_logs_in_to_valid_gmail_account.yml +61 -42
  49. data/spec/recordings/gmail_client_plain/instance/properly_logs_out_from_gmail.yml +61 -42
  50. data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox.yml +164 -109
  51. data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox_using_block_style.yml +164 -109
  52. data/spec/recordings/gmail_client_plain/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +21 -13
  53. data/spec/recordings/gmail_client_xo_auth2/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +24 -13
  54. data/spec/recordings/gmail_client_xo_auth2/instance/labels/checks_if_there_is_given_label_defined.yml +39 -27
  55. data/spec/recordings/gmail_client_xo_auth2/instance/labels/creates_given_label.yml +52 -39
  56. data/spec/recordings/gmail_client_xo_auth2/instance/labels/removes_existing_label.yml +52 -39
  57. data/spec/recordings/gmail_client_xo_auth2/instance/labels/returns_list_of_all_available_labels.yml +39 -27
  58. data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_in_to_valid_gmail_account.yml +26 -15
  59. data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_out_from_gmail.yml +26 -15
  60. data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox.yml +63 -40
  61. data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox_using_block_style.yml +63 -40
  62. data/spec/recordings/gmail_client_xo_auth2/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +24 -13
  63. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/all/localizes_into_the_appropriate_label.yml +229 -116
  64. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/and_the_mailbox_does_not_exist/returns_the_mailbox_name_as_a_string.yml +229 -110
  65. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/drafts/localizes_into_the_appropriate_label.yml +229 -116
  66. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/flagged/localizes_into_the_appropriate_label.yml +229 -116
  67. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/important/localizes_into_the_appropriate_label.yml +229 -116
  68. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/inbox/localizes_into_the_appropriate_label.yml +61 -42
  69. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/junk/localizes_into_the_appropriate_label.yml +229 -116
  70. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/sent/localizes_into_the_appropriate_label.yml +229 -116
  71. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/trash/localizes_into_the_appropriate_label.yml +229 -116
  72. data/spec/recordings/gmail_mailbox/instance/counts_all_emails.yml +595 -277
  73. data/spec/recordings/gmail_mailbox/instance/finds_messages.yml +1049 -586
  74. data/spec/recordings/gmail_mailbox/instance/waits_once.yml +191 -136
  75. data/spec/recordings/gmail_mailbox/instance/waits_repeatedly.yml +217 -141
  76. data/spec/recordings/gmail_mailbox/instance/waits_with_29-minute_re-issue.yml +188 -136
  77. data/spec/recordings/gmail_mailbox/instance/waits_with_an_unblocked_connection.yml +644 -207
  78. data/spec/recordings/gmail_mailbox/on_initialize/sets_client_and_name.yml +61 -42
  79. data/spec/recordings/gmail_mailbox/on_initialize/works_in_inbox_by_default.yml +61 -42
  80. data/spec/recordings/gmail_message/initialize/sets_prefetch_attrs.yml +1068 -578
  81. data/spec/recordings/gmail_message/initialize/sets_uid_and_mailbox.yml +1068 -580
  82. data/spec/recordings/gmail_message/instance_methods/deletes_itself.yml +1084 -637
  83. data/spec/recordings/gmail_message/instance_methods/marks_itself_read.yml +1137 -682
  84. data/spec/recordings/gmail_message/instance_methods/marks_itself_unread.yml +1153 -686
  85. data/spec/recordings/gmail_message/instance_methods/moves_from_one_tag_to_other.yml +1447 -862
  86. data/spec/recordings/gmail_message/instance_methods/removes_a_given_label.yml +1288 -776
  87. data/spec/recordings/gmail_message/instance_methods/removes_a_given_label_with_old_method.yml +1288 -776
  88. data/spec/recordings/gmail_message/instance_methods/sets_given_label.yml +1165 -690
  89. data/spec/recordings/gmail_message/instance_methods/sets_given_label_with_old_method.yml +1157 -691
  90. data/spec/spec_helper.rb +56 -53
  91. data/spec/support/imap_mock.rb +181 -181
  92. data/spec/support/obfuscation.rb +49 -52
  93. metadata +21 -90
  94. data/spec/recordings/gmail_client_plain/instance/_connection_automatically_logs_in_to_gmail_account_when_it_s_called.yml +0 -42
@@ -1,776 +1,1288 @@
1
- ---
2
- LOGIN-9a890af1c86854f5170d99be6e10b8f1:
3
- - - :return
4
- - !ruby/struct:Net::IMAP::TaggedResponse
5
- tag: RUBY0001
6
- name: OK
7
- data: !ruby/struct:Net::IMAP::ResponseText
8
- code:
9
- text: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com authenticated (Success)
10
- raw_data: "RUBY0001 OK ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com authenticated
11
- (Success)\r\n"
12
- - CAPABILITY: &1
13
- - - IMAP4REV1
14
- - UNSELECT
15
- - IDLE
16
- - NAMESPACE
17
- - QUOTA
18
- - ID
19
- - XLIST
20
- - CHILDREN
21
- - X-GM-EXT-1
22
- - UIDPLUS
23
- - COMPRESS=DEFLATE
24
- - ENABLE
25
- - MOVE
26
- - CONDSTORE
27
- - ESEARCH
28
- - UTF8=ACCEPT
29
- LIST-b30698c3407aff5520448484b159fc07:
30
- - - :return
31
- - !ruby/struct:Net::IMAP::TaggedResponse
32
- tag: RUBY0002
33
- name: OK
34
- data: !ruby/struct:Net::IMAP::ResponseText
35
- code:
36
- text: Success
37
- raw_data: "RUBY0002 OK Success\r\n"
38
- - CAPABILITY: *1
39
- LIST:
40
- - !ruby/struct:Net::IMAP::MailboxList
41
- attr:
42
- - :Hasnochildren
43
- delim: "/"
44
- name: Awesome
45
- - !ruby/struct:Net::IMAP::MailboxList
46
- attr:
47
- - :Hasnochildren
48
- delim: "/"
49
- name: Great
50
- - !ruby/struct:Net::IMAP::MailboxList
51
- attr:
52
- - :Hasnochildren
53
- delim: "/"
54
- name: INBOX
55
- - !ruby/struct:Net::IMAP::MailboxList
56
- attr:
57
- - :Hasnochildren
58
- delim: "/"
59
- name: Ni&APE-os
60
- - !ruby/struct:Net::IMAP::MailboxList
61
- attr:
62
- - :Noselect
63
- - :Haschildren
64
- delim: "/"
65
- name: "[Gmail]"
66
- - !ruby/struct:Net::IMAP::MailboxList
67
- attr:
68
- - :Hasnochildren
69
- - :All
70
- delim: "/"
71
- name: "[Gmail]/All Mail"
72
- - !ruby/struct:Net::IMAP::MailboxList
73
- attr:
74
- - :Hasnochildren
75
- - :Drafts
76
- delim: "/"
77
- name: "[Gmail]/Drafts"
78
- - !ruby/struct:Net::IMAP::MailboxList
79
- attr:
80
- - :Hasnochildren
81
- - :Important
82
- delim: "/"
83
- name: "[Gmail]/Important"
84
- - !ruby/struct:Net::IMAP::MailboxList
85
- attr:
86
- - :Sent
87
- - :Hasnochildren
88
- delim: "/"
89
- name: "[Gmail]/Sent Mail"
90
- - !ruby/struct:Net::IMAP::MailboxList
91
- attr:
92
- - :Hasnochildren
93
- - :Junk
94
- delim: "/"
95
- name: "[Gmail]/Spam"
96
- - !ruby/struct:Net::IMAP::MailboxList
97
- attr:
98
- - :Hasnochildren
99
- - :Flagged
100
- delim: "/"
101
- name: "[Gmail]/Starred"
102
- - !ruby/struct:Net::IMAP::MailboxList
103
- attr:
104
- - :Trash
105
- - :Hasnochildren
106
- delim: "/"
107
- name: "[Gmail]/Trash"
108
- - !ruby/struct:Net::IMAP::MailboxList
109
- attr:
110
- - :Hasnochildren
111
- delim: "/"
112
- name: one's and two's
113
- - !ruby/struct:Net::IMAP::MailboxList
114
- attr:
115
- - :Hasnochildren
116
- delim: "/"
117
- name: some new label
118
- - !ruby/struct:Net::IMAP::MailboxList
119
- attr:
120
- - :Hasnochildren
121
- delim: "/"
122
- name: some other label
123
- SELECT-868fce8856c91e50bebd43b4dbd8e071:
124
- - - :return
125
- - !ruby/struct:Net::IMAP::TaggedResponse
126
- tag: RUBY0003
127
- name: OK
128
- data: !ruby/struct:Net::IMAP::ResponseText
129
- code: !ruby/struct:Net::IMAP::ResponseCode
130
- name: READ-WRITE
131
- data:
132
- text: " [Gmail]/All Mail selected. (Success)"
133
- raw_data: "RUBY0003 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
134
- - FLAGS: &7
135
- - - :Answered
136
- - :Flagged
137
- - :Draft
138
- - :Deleted
139
- - :Seen
140
- - "$Phishing"
141
- - "$NotPhishing"
142
- OK: &8
143
- - !ruby/struct:Net::IMAP::ResponseText
144
- code: !ruby/struct:Net::IMAP::ResponseCode
145
- name: PERMANENTFLAGS
146
- data: &2
147
- - :Answered
148
- - :Flagged
149
- - :Draft
150
- - :Deleted
151
- - :Seen
152
- - "$Phishing"
153
- - "$NotPhishing"
154
- - :*
155
- text: " Flags permitted."
156
- - !ruby/struct:Net::IMAP::ResponseText
157
- code: !ruby/struct:Net::IMAP::ResponseCode
158
- name: UIDVALIDITY
159
- data: 11
160
- text: " UIDs valid."
161
- - !ruby/struct:Net::IMAP::ResponseText
162
- code: !ruby/struct:Net::IMAP::ResponseCode
163
- name: UIDNEXT
164
- data: 190
165
- text: " Predicted next UID."
166
- - !ruby/struct:Net::IMAP::ResponseText
167
- code: !ruby/struct:Net::IMAP::ResponseCode
168
- name: HIGHESTMODSEQ
169
- data: '14727'
170
- text: ''
171
- PERMANENTFLAGS: &9
172
- - *2
173
- UIDVALIDITY: &10
174
- - 11
175
- EXISTS: &11
176
- - 181
177
- RECENT: &12
178
- - 0
179
- UIDNEXT: &13
180
- - 190
181
- HIGHESTMODSEQ: &14
182
- - '14727'
183
- - - :return
184
- - !ruby/struct:Net::IMAP::TaggedResponse
185
- tag: RUBY0005
186
- name: OK
187
- data: !ruby/struct:Net::IMAP::ResponseText
188
- code: !ruby/struct:Net::IMAP::ResponseCode
189
- name: READ-WRITE
190
- data:
191
- text: " [Gmail]/All Mail selected. (Success)"
192
- raw_data: "RUBY0005 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
193
- - FLAGS: &15
194
- - - :Answered
195
- - :Flagged
196
- - :Draft
197
- - :Deleted
198
- - :Seen
199
- - "$Phishing"
200
- - "$NotPhishing"
201
- OK: &16
202
- - !ruby/struct:Net::IMAP::ResponseText
203
- code: !ruby/struct:Net::IMAP::ResponseCode
204
- name: PERMANENTFLAGS
205
- data: &3
206
- - :Answered
207
- - :Flagged
208
- - :Draft
209
- - :Deleted
210
- - :Seen
211
- - "$Phishing"
212
- - "$NotPhishing"
213
- - :*
214
- text: " Flags permitted."
215
- - !ruby/struct:Net::IMAP::ResponseText
216
- code: !ruby/struct:Net::IMAP::ResponseCode
217
- name: UIDVALIDITY
218
- data: 11
219
- text: " UIDs valid."
220
- - !ruby/struct:Net::IMAP::ResponseText
221
- code: !ruby/struct:Net::IMAP::ResponseCode
222
- name: UIDNEXT
223
- data: 190
224
- text: " Predicted next UID."
225
- - !ruby/struct:Net::IMAP::ResponseText
226
- code: !ruby/struct:Net::IMAP::ResponseCode
227
- name: HIGHESTMODSEQ
228
- data: '14727'
229
- text: ''
230
- PERMANENTFLAGS: &17
231
- - *3
232
- UIDVALIDITY: &18
233
- - 11
234
- EXISTS: &19
235
- - 181
236
- RECENT: &20
237
- - 0
238
- UIDNEXT: &21
239
- - 190
240
- HIGHESTMODSEQ: &22
241
- - '14727'
242
- - - :return
243
- - !ruby/struct:Net::IMAP::TaggedResponse
244
- tag: RUBY0007
245
- name: OK
246
- data: !ruby/struct:Net::IMAP::ResponseText
247
- code: !ruby/struct:Net::IMAP::ResponseCode
248
- name: READ-WRITE
249
- data:
250
- text: " [Gmail]/All Mail selected. (Success)"
251
- raw_data: "RUBY0007 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
252
- - FLAGS: &23
253
- - - :Answered
254
- - :Flagged
255
- - :Draft
256
- - :Deleted
257
- - :Seen
258
- - "$Phishing"
259
- - "$NotPhishing"
260
- OK: &24
261
- - !ruby/struct:Net::IMAP::ResponseText
262
- code: !ruby/struct:Net::IMAP::ResponseCode
263
- name: PERMANENTFLAGS
264
- data: &4
265
- - :Answered
266
- - :Flagged
267
- - :Draft
268
- - :Deleted
269
- - :Seen
270
- - "$Phishing"
271
- - "$NotPhishing"
272
- - :*
273
- text: " Flags permitted."
274
- - !ruby/struct:Net::IMAP::ResponseText
275
- code: !ruby/struct:Net::IMAP::ResponseCode
276
- name: UIDVALIDITY
277
- data: 11
278
- text: " UIDs valid."
279
- - !ruby/struct:Net::IMAP::ResponseText
280
- code: !ruby/struct:Net::IMAP::ResponseCode
281
- name: UIDNEXT
282
- data: 190
283
- text: " Predicted next UID."
284
- - !ruby/struct:Net::IMAP::ResponseText
285
- code: !ruby/struct:Net::IMAP::ResponseCode
286
- name: HIGHESTMODSEQ
287
- data: '14727'
288
- text: ''
289
- PERMANENTFLAGS: &25
290
- - *4
291
- UIDVALIDITY: &26
292
- - 11
293
- EXISTS: &27
294
- - 181
295
- RECENT: &28
296
- - 0
297
- UIDNEXT: &29
298
- - 190
299
- HIGHESTMODSEQ: &30
300
- - '14727'
301
- - - :return
302
- - !ruby/struct:Net::IMAP::TaggedResponse
303
- tag: RUBY0009
304
- name: OK
305
- data: !ruby/struct:Net::IMAP::ResponseText
306
- code: !ruby/struct:Net::IMAP::ResponseCode
307
- name: READ-WRITE
308
- data:
309
- text: " [Gmail]/All Mail selected. (Success)"
310
- raw_data: "RUBY0009 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
311
- - FLAGS: &31
312
- - - :Answered
313
- - :Flagged
314
- - :Draft
315
- - :Deleted
316
- - :Seen
317
- - "$Phishing"
318
- - "$NotPhishing"
319
- OK: &32
320
- - !ruby/struct:Net::IMAP::ResponseText
321
- code: !ruby/struct:Net::IMAP::ResponseCode
322
- name: PERMANENTFLAGS
323
- data: &5
324
- - :Answered
325
- - :Flagged
326
- - :Draft
327
- - :Deleted
328
- - :Seen
329
- - "$Phishing"
330
- - "$NotPhishing"
331
- - :*
332
- text: " Flags permitted."
333
- - !ruby/struct:Net::IMAP::ResponseText
334
- code: !ruby/struct:Net::IMAP::ResponseCode
335
- name: UIDVALIDITY
336
- data: 11
337
- text: " UIDs valid."
338
- - !ruby/struct:Net::IMAP::ResponseText
339
- code: !ruby/struct:Net::IMAP::ResponseCode
340
- name: UIDNEXT
341
- data: 190
342
- text: " Predicted next UID."
343
- - !ruby/struct:Net::IMAP::ResponseText
344
- code: !ruby/struct:Net::IMAP::ResponseCode
345
- name: HIGHESTMODSEQ
346
- data: '14727'
347
- text: ''
348
- PERMANENTFLAGS: &33
349
- - *5
350
- UIDVALIDITY: &34
351
- - 11
352
- EXISTS: &35
353
- - 181
354
- RECENT: &36
355
- - 0
356
- UIDNEXT: &37
357
- - 190
358
- HIGHESTMODSEQ: &38
359
- - '14727'
360
- - - :return
361
- - !ruby/struct:Net::IMAP::TaggedResponse
362
- tag: RUBY0011
363
- name: OK
364
- data: !ruby/struct:Net::IMAP::ResponseText
365
- code: !ruby/struct:Net::IMAP::ResponseCode
366
- name: READ-WRITE
367
- data:
368
- text: " [Gmail]/All Mail selected. (Success)"
369
- raw_data: "RUBY0011 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
370
- - FLAGS: &39
371
- - - :Answered
372
- - :Flagged
373
- - :Draft
374
- - :Deleted
375
- - :Seen
376
- - "$Phishing"
377
- - "$NotPhishing"
378
- OK: &40
379
- - !ruby/struct:Net::IMAP::ResponseText
380
- code: !ruby/struct:Net::IMAP::ResponseCode
381
- name: PERMANENTFLAGS
382
- data: &6
383
- - :Answered
384
- - :Flagged
385
- - :Draft
386
- - :Deleted
387
- - :Seen
388
- - "$Phishing"
389
- - "$NotPhishing"
390
- - :*
391
- text: " Flags permitted."
392
- - !ruby/struct:Net::IMAP::ResponseText
393
- code: !ruby/struct:Net::IMAP::ResponseCode
394
- name: UIDVALIDITY
395
- data: 11
396
- text: " UIDs valid."
397
- - !ruby/struct:Net::IMAP::ResponseText
398
- code: !ruby/struct:Net::IMAP::ResponseCode
399
- name: UIDNEXT
400
- data: 190
401
- text: " Predicted next UID."
402
- - !ruby/struct:Net::IMAP::ResponseText
403
- code: !ruby/struct:Net::IMAP::ResponseCode
404
- name: HIGHESTMODSEQ
405
- data: '14734'
406
- text: ''
407
- PERMANENTFLAGS: &41
408
- - *6
409
- UIDVALIDITY: &42
410
- - 11
411
- EXISTS: &43
412
- - 181
413
- RECENT: &44
414
- - 0
415
- UIDNEXT: &45
416
- - 190
417
- HIGHESTMODSEQ: &46
418
- - '14734'
419
- UID SEARCH-0010f3078427015fc193bf14c1871582:
420
- - - :return
421
- - !ruby/struct:Net::IMAP::TaggedResponse
422
- tag: RUBY0004
423
- name: OK
424
- data: !ruby/struct:Net::IMAP::ResponseText
425
- code:
426
- text: SEARCH completed (Success)
427
- raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
428
- - FLAGS: *7
429
- OK: *8
430
- PERMANENTFLAGS: *9
431
- UIDVALIDITY: *10
432
- EXISTS: *11
433
- RECENT: *12
434
- UIDNEXT: *13
435
- HIGHESTMODSEQ: *14
436
- SEARCH:
437
- - - 4
438
- - 5
439
- - 11
440
- - 12
441
- - 13
442
- - 14
443
- - 15
444
- - 16
445
- - 17
446
- - 18
447
- - 19
448
- - 20
449
- - 21
450
- - 22
451
- - 23
452
- - 24
453
- - 25
454
- - 26
455
- - 27
456
- - 28
457
- - 29
458
- - 30
459
- - 31
460
- - 32
461
- - 33
462
- - 34
463
- - 35
464
- - 36
465
- - 37
466
- - 38
467
- - 39
468
- - 40
469
- - 41
470
- - 42
471
- - 43
472
- - 44
473
- - 45
474
- - 46
475
- - 47
476
- - 48
477
- - 49
478
- - 50
479
- - 51
480
- - 52
481
- - 53
482
- - 54
483
- - 55
484
- - 56
485
- - 57
486
- - 58
487
- - 59
488
- - 60
489
- - 61
490
- - 62
491
- - 63
492
- - 64
493
- - 65
494
- - 66
495
- - 67
496
- - 68
497
- - 69
498
- - 70
499
- - 71
500
- - 72
501
- - 73
502
- - 74
503
- - 75
504
- - 76
505
- - 77
506
- - 78
507
- - 79
508
- - 80
509
- - 81
510
- - 82
511
- - 83
512
- - 84
513
- - 85
514
- - 86
515
- - 87
516
- - 88
517
- - 89
518
- - 90
519
- - 91
520
- - 92
521
- - 93
522
- - 94
523
- - 95
524
- - 96
525
- - 97
526
- - 98
527
- - 99
528
- - 100
529
- - 101
530
- - 102
531
- - 103
532
- - 104
533
- - 105
534
- - 106
535
- - 107
536
- - 108
537
- - 109
538
- - 110
539
- - 111
540
- - 112
541
- - 113
542
- - 114
543
- - 115
544
- - 116
545
- - 117
546
- - 118
547
- - 119
548
- - 120
549
- - 121
550
- - 122
551
- - 123
552
- - 124
553
- - 125
554
- - 126
555
- - 127
556
- - 128
557
- - 129
558
- - 130
559
- - 131
560
- - 132
561
- - 133
562
- - 134
563
- - 135
564
- - 136
565
- - 137
566
- - 138
567
- - 139
568
- - 140
569
- - 141
570
- - 142
571
- - 143
572
- - 144
573
- - 145
574
- - 157
575
- - 158
576
- - 159
577
- - 160
578
- - 161
579
- - 162
580
- - 166
581
- - 167
582
- - 168
583
- - 169
584
- - 170
585
- - 171
586
- - 172
587
- - 173
588
- - 174
589
- - 175
590
- - 176
591
- - 177
592
- - 178
593
- - 179
594
- - 180
595
- - 181
596
- - 182
597
- - 183
598
- - 184
599
- - 185
600
- - 188
601
- - 189
602
- UID STORE-ac884ffbfb66da354d64b0f2d42a166f:
603
- - - :return
604
- - !ruby/struct:Net::IMAP::TaggedResponse
605
- tag: RUBY0006
606
- name: OK
607
- data: !ruby/struct:Net::IMAP::ResponseText
608
- code:
609
- text: Success
610
- raw_data: "RUBY0006 OK Success\r\n"
611
- - FLAGS: *15
612
- OK: *16
613
- PERMANENTFLAGS: *17
614
- UIDVALIDITY: *18
615
- EXISTS: *19
616
- RECENT: *20
617
- UIDNEXT: *21
618
- HIGHESTMODSEQ: *22
619
- FETCH:
620
- - !ruby/struct:Net::IMAP::FetchData
621
- seqno: 181
622
- attr:
623
- X-GM-LABELS:
624
- - "\\Important"
625
- - "\\Inbox"
626
- - "\\Sent"
627
- - Awesome
628
- - Great
629
- UID: 189
630
- UID STORE-c2d6f8de722e6c9f06f0a6a1a4163f69:
631
- - - :return
632
- - !ruby/struct:Net::IMAP::TaggedResponse
633
- tag: RUBY0008
634
- name: OK
635
- data: !ruby/struct:Net::IMAP::ResponseText
636
- code:
637
- text: Success
638
- raw_data: "RUBY0008 OK Success\r\n"
639
- - FLAGS: *23
640
- OK: *24
641
- PERMANENTFLAGS: *25
642
- UIDVALIDITY: *26
643
- EXISTS: *27
644
- RECENT: *28
645
- UIDNEXT: *29
646
- HIGHESTMODSEQ: *30
647
- FETCH:
648
- - !ruby/struct:Net::IMAP::FetchData
649
- seqno: 181
650
- attr:
651
- X-GM-LABELS:
652
- - "\\Important"
653
- - "\\Inbox"
654
- - "\\Sent"
655
- - Awesome
656
- - Great
657
- UID: 189
658
- UID STORE-2e46c35991051e7831af457bc2435903:
659
- - - :return
660
- - !ruby/struct:Net::IMAP::TaggedResponse
661
- tag: RUBY0010
662
- name: OK
663
- data: !ruby/struct:Net::IMAP::ResponseText
664
- code:
665
- text: Success
666
- raw_data: "RUBY0010 OK Success\r\n"
667
- - FLAGS: *31
668
- OK: *32
669
- PERMANENTFLAGS: *33
670
- UIDVALIDITY: *34
671
- EXISTS: *35
672
- RECENT: *36
673
- UIDNEXT: *37
674
- HIGHESTMODSEQ: *38
675
- FETCH:
676
- - !ruby/struct:Net::IMAP::FetchData
677
- seqno: 181
678
- attr:
679
- X-GM-LABELS:
680
- - "\\Important"
681
- - "\\Inbox"
682
- - "\\Sent"
683
- - Great
684
- UID: 189
685
- UID FETCH-c91d19726aebc8362537324efef9b96b:
686
- - - :return
687
- - !ruby/struct:Net::IMAP::TaggedResponse
688
- tag: RUBY0012
689
- name: OK
690
- data: !ruby/struct:Net::IMAP::ResponseText
691
- code:
692
- text: Success
693
- raw_data: "RUBY0012 OK Success\r\n"
694
- - FLAGS: *39
695
- OK: *40
696
- PERMANENTFLAGS: *41
697
- UIDVALIDITY: *42
698
- EXISTS: *43
699
- RECENT: *44
700
- UIDNEXT: *45
701
- HIGHESTMODSEQ: *46
702
- FETCH:
703
- - !ruby/struct:Net::IMAP::FetchData
704
- seqno: 181
705
- attr:
706
- X-GM-THRID: 1490771293684090059
707
- X-GM-MSGID: 1490771293684090059
708
- X-GM-LABELS:
709
- - "\\Important"
710
- - "\\Inbox"
711
- - "\\Sent"
712
- - Great
713
- UID: 189
714
- FLAGS: []
715
- ENVELOPE: !ruby/struct:Net::IMAP::Envelope
716
- date: Mon, 19 Jan 2015 18:31:32 -0500
717
- subject: Hello world!
718
- from:
719
- - !ruby/struct:Net::IMAP::Address
720
- name:
721
- route:
722
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
723
- host: gmail.com
724
- sender:
725
- - !ruby/struct:Net::IMAP::Address
726
- name:
727
- route:
728
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
729
- host: gmail.com
730
- reply_to:
731
- - !ruby/struct:Net::IMAP::Address
732
- name:
733
- route:
734
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
735
- host: gmail.com
736
- to:
737
- - !ruby/struct:Net::IMAP::Address
738
- name:
739
- route:
740
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
741
- host: gmail.com
742
- cc:
743
- bcc:
744
- in_reply_to:
745
- message_id: "<54bd93d452c0f_74e73fc534c63bec5352@Jeffs-MBP.mail>"
746
- BODY[]: "Return-Path: <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nReceived:
747
- from gmail.com (99-156-120-246.lightspeed.miamfl.sbcglobal.net. [99.156.120.246])\r\n
748
- \ by mx.google.com with ESMTPSA id a15sm890292oic.18.2015.01.19.15.31.33\r\n
749
- \ for <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\n (version=TLSv1.2
750
- cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r\n Mon, 19 Jan
751
- 2015 15:31:34 -0800 (PST)\r\nDate: Mon, 19 Jan 2015 18:31:32 -0500\r\nFrom:
752
- ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nTo: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID:
753
- <54bd93d452c0f_74e73fc534c63bec5352@Jeffs-MBP.mail>\r\nSubject: Hello world!\r\nMime-Version:
754
- 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding:
755
- 7bit\r\n\r\nYeah, hello there!\r\n"
756
- LOGOUT-e76a09b7766d60a37ff9e1af527a143e:
757
- - - :return
758
- - !ruby/struct:Net::IMAP::TaggedResponse
759
- tag: RUBY0013
760
- name: OK
761
- data: !ruby/struct:Net::IMAP::ResponseText
762
- code:
763
- text: 73 good day (Success)
764
- raw_data: "RUBY0013 OK 73 good day (Success)\r\n"
765
- - FLAGS: *39
766
- OK: *40
767
- PERMANENTFLAGS: *41
768
- UIDVALIDITY: *42
769
- EXISTS: *43
770
- RECENT: *44
771
- UIDNEXT: *45
772
- HIGHESTMODSEQ: *46
773
- BYE:
774
- - !ruby/struct:Net::IMAP::ResponseText
775
- code:
776
- text: LOGOUT Requested
1
+ ---
2
+ LOGIN-9a890af1c86854f5170d99be6e10b8f1:
3
+ - - :return
4
+ - !ruby/struct:Net::IMAP::TaggedResponse
5
+ tag: RUBY0001
6
+ name: OK
7
+ data: &2 !ruby/struct:Net::IMAP::ResponseText
8
+ code:
9
+ text: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com authenticated (Success)
10
+ raw_data: "RUBY0001 OK ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com authenticated
11
+ (Success)\r\n"
12
+ - CAPABILITY: &3
13
+ - &1
14
+ - IMAP4REV1
15
+ - UNSELECT
16
+ - IDLE
17
+ - NAMESPACE
18
+ - QUOTA
19
+ - ID
20
+ - XLIST
21
+ - CHILDREN
22
+ - X-GM-EXT-1
23
+ - UIDPLUS
24
+ - COMPRESS=DEFLATE
25
+ - ENABLE
26
+ - MOVE
27
+ - CONDSTORE
28
+ - ESEARCH
29
+ - UTF8=ACCEPT
30
+ - LIST-EXTENDED
31
+ - LIST-STATUS
32
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
33
+ name: CAPABILITY
34
+ data: *1
35
+ raw_data: "* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN
36
+ X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT
37
+ LIST-EXTENDED LIST-STATUS\r\n"
38
+ - !ruby/struct:Net::IMAP::TaggedResponse
39
+ tag: RUBY0001
40
+ name: OK
41
+ data: *2
42
+ raw_data: "RUBY0001 OK ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com authenticated
43
+ (Success)\r\n"
44
+ LIST-b30698c3407aff5520448484b159fc07:
45
+ - - :return
46
+ - !ruby/struct:Net::IMAP::TaggedResponse
47
+ tag: RUBY0002
48
+ name: OK
49
+ data: &20 !ruby/struct:Net::IMAP::ResponseText
50
+ code:
51
+ text: Success
52
+ raw_data: "RUBY0002 OK Success\r\n"
53
+ - CAPABILITY: *3
54
+ LIST:
55
+ - &4 !ruby/struct:Net::IMAP::MailboxList
56
+ attr:
57
+ - :Hasnochildren
58
+ delim: "/"
59
+ name: Awesome
60
+ - &5 !ruby/struct:Net::IMAP::MailboxList
61
+ attr:
62
+ - :Hasnochildren
63
+ delim: "/"
64
+ name: Great
65
+ - &6 !ruby/struct:Net::IMAP::MailboxList
66
+ attr:
67
+ - :Hasnochildren
68
+ delim: "/"
69
+ name: INBOX
70
+ - &7 !ruby/struct:Net::IMAP::MailboxList
71
+ attr:
72
+ - :Hasnochildren
73
+ delim: "/"
74
+ name: Ni&APE-os
75
+ - &8 !ruby/struct:Net::IMAP::MailboxList
76
+ attr:
77
+ - :Haschildren
78
+ - :Noselect
79
+ delim: "/"
80
+ name: "[Gmail]"
81
+ - &9 !ruby/struct:Net::IMAP::MailboxList
82
+ attr:
83
+ - :All
84
+ - :Hasnochildren
85
+ delim: "/"
86
+ name: "[Gmail]/All Mail"
87
+ - &10 !ruby/struct:Net::IMAP::MailboxList
88
+ attr:
89
+ - :Drafts
90
+ - :Hasnochildren
91
+ delim: "/"
92
+ name: "[Gmail]/Drafts"
93
+ - &11 !ruby/struct:Net::IMAP::MailboxList
94
+ attr:
95
+ - :Hasnochildren
96
+ - :Important
97
+ delim: "/"
98
+ name: "[Gmail]/Important"
99
+ - &12 !ruby/struct:Net::IMAP::MailboxList
100
+ attr:
101
+ - :Hasnochildren
102
+ - :Sent
103
+ delim: "/"
104
+ name: "[Gmail]/Sent Mail"
105
+ - &13 !ruby/struct:Net::IMAP::MailboxList
106
+ attr:
107
+ - :Hasnochildren
108
+ - :Junk
109
+ delim: "/"
110
+ name: "[Gmail]/Spam"
111
+ - &14 !ruby/struct:Net::IMAP::MailboxList
112
+ attr:
113
+ - :Flagged
114
+ - :Hasnochildren
115
+ delim: "/"
116
+ name: "[Gmail]/Starred"
117
+ - &15 !ruby/struct:Net::IMAP::MailboxList
118
+ attr:
119
+ - :Hasnochildren
120
+ - :Trash
121
+ delim: "/"
122
+ name: "[Gmail]/Trash"
123
+ - &16 !ruby/struct:Net::IMAP::MailboxList
124
+ attr:
125
+ - :Hasnochildren
126
+ delim: "/"
127
+ name: "\\Junk"
128
+ - &17 !ruby/struct:Net::IMAP::MailboxList
129
+ attr:
130
+ - :Hasnochildren
131
+ delim: "/"
132
+ name: one's and two's
133
+ - &18 !ruby/struct:Net::IMAP::MailboxList
134
+ attr:
135
+ - :Hasnochildren
136
+ delim: "/"
137
+ name: some new label
138
+ - &19 !ruby/struct:Net::IMAP::MailboxList
139
+ attr:
140
+ - :Hasnochildren
141
+ delim: "/"
142
+ name: some other label
143
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
144
+ name: LIST
145
+ data: *4
146
+ raw_data: "* LIST (\\HasNoChildren) \"/\" \"Awesome\"\r\n"
147
+ - !ruby/struct:Net::IMAP::UntaggedResponse
148
+ name: LIST
149
+ data: *5
150
+ raw_data: "* LIST (\\HasNoChildren) \"/\" \"Great\"\r\n"
151
+ - !ruby/struct:Net::IMAP::UntaggedResponse
152
+ name: LIST
153
+ data: *6
154
+ raw_data: "* LIST (\\HasNoChildren) \"/\" \"INBOX\"\r\n"
155
+ - !ruby/struct:Net::IMAP::UntaggedResponse
156
+ name: LIST
157
+ data: *7
158
+ raw_data: "* LIST (\\HasNoChildren) \"/\" \"Ni&APE-os\"\r\n"
159
+ - !ruby/struct:Net::IMAP::UntaggedResponse
160
+ name: LIST
161
+ data: *8
162
+ raw_data: "* LIST (\\HasChildren \\Noselect) \"/\" \"[Gmail]\"\r\n"
163
+ - !ruby/struct:Net::IMAP::UntaggedResponse
164
+ name: LIST
165
+ data: *9
166
+ raw_data: "* LIST (\\All \\HasNoChildren) \"/\" \"[Gmail]/All Mail\"\r\n"
167
+ - !ruby/struct:Net::IMAP::UntaggedResponse
168
+ name: LIST
169
+ data: *10
170
+ raw_data: "* LIST (\\Drafts \\HasNoChildren) \"/\" \"[Gmail]/Drafts\"\r\n"
171
+ - !ruby/struct:Net::IMAP::UntaggedResponse
172
+ name: LIST
173
+ data: *11
174
+ raw_data: "* LIST (\\HasNoChildren \\Important) \"/\" \"[Gmail]/Important\"\r\n"
175
+ - !ruby/struct:Net::IMAP::UntaggedResponse
176
+ name: LIST
177
+ data: *12
178
+ raw_data: "* LIST (\\HasNoChildren \\Sent) \"/\" \"[Gmail]/Sent Mail\"\r\n"
179
+ - !ruby/struct:Net::IMAP::UntaggedResponse
180
+ name: LIST
181
+ data: *13
182
+ raw_data: "* LIST (\\HasNoChildren \\Junk) \"/\" \"[Gmail]/Spam\"\r\n"
183
+ - !ruby/struct:Net::IMAP::UntaggedResponse
184
+ name: LIST
185
+ data: *14
186
+ raw_data: "* LIST (\\Flagged \\HasNoChildren) \"/\" \"[Gmail]/Starred\"\r\n"
187
+ - !ruby/struct:Net::IMAP::UntaggedResponse
188
+ name: LIST
189
+ data: *15
190
+ raw_data: "* LIST (\\HasNoChildren \\Trash) \"/\" \"[Gmail]/Trash\"\r\n"
191
+ - !ruby/struct:Net::IMAP::UntaggedResponse
192
+ name: LIST
193
+ data: *16
194
+ raw_data: "* LIST (\\HasNoChildren) \"/\" \"\\\\Junk\"\r\n"
195
+ - !ruby/struct:Net::IMAP::UntaggedResponse
196
+ name: LIST
197
+ data: *17
198
+ raw_data: "* LIST (\\HasNoChildren) \"/\" \"one's and two's\"\r\n"
199
+ - !ruby/struct:Net::IMAP::UntaggedResponse
200
+ name: LIST
201
+ data: *18
202
+ raw_data: "* LIST (\\HasNoChildren) \"/\" \"some new label\"\r\n"
203
+ - !ruby/struct:Net::IMAP::UntaggedResponse
204
+ name: LIST
205
+ data: *19
206
+ raw_data: "* LIST (\\HasNoChildren) \"/\" \"some other label\"\r\n"
207
+ - !ruby/struct:Net::IMAP::TaggedResponse
208
+ tag: RUBY0002
209
+ name: OK
210
+ data: *20
211
+ raw_data: "RUBY0002 OK Success\r\n"
212
+ SELECT-868fce8856c91e50bebd43b4dbd8e071:
213
+ - - :return
214
+ - !ruby/struct:Net::IMAP::TaggedResponse
215
+ tag: RUBY0003
216
+ name: OK
217
+ data: &27 !ruby/struct:Net::IMAP::ResponseText
218
+ code: !ruby/struct:Net::IMAP::ResponseCode
219
+ name: READ-WRITE
220
+ data:
221
+ text: " [Gmail]/All Mail selected. (Success)"
222
+ raw_data: "RUBY0003 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
223
+ - FLAGS: &56
224
+ - &22
225
+ - :Answered
226
+ - :Flagged
227
+ - :Draft
228
+ - :Deleted
229
+ - :Seen
230
+ - "$NotPhishing"
231
+ - "$Phishing"
232
+ OK: &57
233
+ - &23 !ruby/struct:Net::IMAP::ResponseText
234
+ code: !ruby/struct:Net::IMAP::ResponseCode
235
+ name: PERMANENTFLAGS
236
+ data: &21
237
+ - :Answered
238
+ - :Flagged
239
+ - :Draft
240
+ - :Deleted
241
+ - :Seen
242
+ - "$NotPhishing"
243
+ - "$Phishing"
244
+ - :*
245
+ text: " Flags permitted."
246
+ - &24 !ruby/struct:Net::IMAP::ResponseText
247
+ code: !ruby/struct:Net::IMAP::ResponseCode
248
+ name: UIDVALIDITY
249
+ data: 11
250
+ text: " UIDs valid."
251
+ - &25 !ruby/struct:Net::IMAP::ResponseText
252
+ code: !ruby/struct:Net::IMAP::ResponseCode
253
+ name: UIDNEXT
254
+ data: 398
255
+ text: " Predicted next UID."
256
+ - &26 !ruby/struct:Net::IMAP::ResponseText
257
+ code: !ruby/struct:Net::IMAP::ResponseCode
258
+ name: HIGHESTMODSEQ
259
+ data: '24077'
260
+ text: ''
261
+ PERMANENTFLAGS: &58
262
+ - *21
263
+ UIDVALIDITY: &59
264
+ - 11
265
+ EXISTS: &60
266
+ - 385
267
+ RECENT: &61
268
+ - 0
269
+ UIDNEXT: &62
270
+ - 398
271
+ HIGHESTMODSEQ: &63
272
+ - '24077'
273
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
274
+ name: FLAGS
275
+ data: *22
276
+ raw_data: "* FLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen $NotPhishing
277
+ $Phishing)\r\n"
278
+ - !ruby/struct:Net::IMAP::UntaggedResponse
279
+ name: OK
280
+ data: *23
281
+ raw_data: "* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen
282
+ $NotPhishing $Phishing \\*)] Flags permitted.\r\n"
283
+ - !ruby/struct:Net::IMAP::UntaggedResponse
284
+ name: OK
285
+ data: *24
286
+ raw_data: "* OK [UIDVALIDITY 11] UIDs valid.\r\n"
287
+ - !ruby/struct:Net::IMAP::UntaggedResponse
288
+ name: EXISTS
289
+ data: 385
290
+ raw_data: "* 385 EXISTS\r\n"
291
+ - !ruby/struct:Net::IMAP::UntaggedResponse
292
+ name: RECENT
293
+ data: 0
294
+ raw_data: "* 0 RECENT\r\n"
295
+ - !ruby/struct:Net::IMAP::UntaggedResponse
296
+ name: OK
297
+ data: *25
298
+ raw_data: "* OK [UIDNEXT 398] Predicted next UID.\r\n"
299
+ - !ruby/struct:Net::IMAP::UntaggedResponse
300
+ name: OK
301
+ data: *26
302
+ raw_data: "* OK [HIGHESTMODSEQ 24077]\r\n"
303
+ - !ruby/struct:Net::IMAP::TaggedResponse
304
+ tag: RUBY0003
305
+ name: OK
306
+ data: *27
307
+ raw_data: "RUBY0003 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
308
+ - - :return
309
+ - !ruby/struct:Net::IMAP::TaggedResponse
310
+ tag: RUBY0005
311
+ name: OK
312
+ data: &34 !ruby/struct:Net::IMAP::ResponseText
313
+ code: !ruby/struct:Net::IMAP::ResponseCode
314
+ name: READ-WRITE
315
+ data:
316
+ text: " [Gmail]/All Mail selected. (Success)"
317
+ raw_data: "RUBY0005 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
318
+ - FLAGS: &66
319
+ - &29
320
+ - :Answered
321
+ - :Flagged
322
+ - :Draft
323
+ - :Deleted
324
+ - :Seen
325
+ - "$NotPhishing"
326
+ - "$Phishing"
327
+ OK: &67
328
+ - &30 !ruby/struct:Net::IMAP::ResponseText
329
+ code: !ruby/struct:Net::IMAP::ResponseCode
330
+ name: PERMANENTFLAGS
331
+ data: &28
332
+ - :Answered
333
+ - :Flagged
334
+ - :Draft
335
+ - :Deleted
336
+ - :Seen
337
+ - "$NotPhishing"
338
+ - "$Phishing"
339
+ - :*
340
+ text: " Flags permitted."
341
+ - &31 !ruby/struct:Net::IMAP::ResponseText
342
+ code: !ruby/struct:Net::IMAP::ResponseCode
343
+ name: UIDVALIDITY
344
+ data: 11
345
+ text: " UIDs valid."
346
+ - &32 !ruby/struct:Net::IMAP::ResponseText
347
+ code: !ruby/struct:Net::IMAP::ResponseCode
348
+ name: UIDNEXT
349
+ data: 398
350
+ text: " Predicted next UID."
351
+ - &33 !ruby/struct:Net::IMAP::ResponseText
352
+ code: !ruby/struct:Net::IMAP::ResponseCode
353
+ name: HIGHESTMODSEQ
354
+ data: '24077'
355
+ text: ''
356
+ PERMANENTFLAGS: &68
357
+ - *28
358
+ UIDVALIDITY: &69
359
+ - 11
360
+ EXISTS: &70
361
+ - 385
362
+ RECENT: &71
363
+ - 0
364
+ UIDNEXT: &72
365
+ - 398
366
+ HIGHESTMODSEQ: &73
367
+ - '24077'
368
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
369
+ name: FLAGS
370
+ data: *29
371
+ raw_data: "* FLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen $NotPhishing
372
+ $Phishing)\r\n"
373
+ - !ruby/struct:Net::IMAP::UntaggedResponse
374
+ name: OK
375
+ data: *30
376
+ raw_data: "* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen
377
+ $NotPhishing $Phishing \\*)] Flags permitted.\r\n"
378
+ - !ruby/struct:Net::IMAP::UntaggedResponse
379
+ name: OK
380
+ data: *31
381
+ raw_data: "* OK [UIDVALIDITY 11] UIDs valid.\r\n"
382
+ - !ruby/struct:Net::IMAP::UntaggedResponse
383
+ name: EXISTS
384
+ data: 385
385
+ raw_data: "* 385 EXISTS\r\n"
386
+ - !ruby/struct:Net::IMAP::UntaggedResponse
387
+ name: RECENT
388
+ data: 0
389
+ raw_data: "* 0 RECENT\r\n"
390
+ - !ruby/struct:Net::IMAP::UntaggedResponse
391
+ name: OK
392
+ data: *32
393
+ raw_data: "* OK [UIDNEXT 398] Predicted next UID.\r\n"
394
+ - !ruby/struct:Net::IMAP::UntaggedResponse
395
+ name: OK
396
+ data: *33
397
+ raw_data: "* OK [HIGHESTMODSEQ 24077]\r\n"
398
+ - !ruby/struct:Net::IMAP::TaggedResponse
399
+ tag: RUBY0005
400
+ name: OK
401
+ data: *34
402
+ raw_data: "RUBY0005 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
403
+ - - :return
404
+ - !ruby/struct:Net::IMAP::TaggedResponse
405
+ tag: RUBY0007
406
+ name: OK
407
+ data: &41 !ruby/struct:Net::IMAP::ResponseText
408
+ code: !ruby/struct:Net::IMAP::ResponseCode
409
+ name: READ-WRITE
410
+ data:
411
+ text: " [Gmail]/All Mail selected. (Success)"
412
+ raw_data: "RUBY0007 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
413
+ - FLAGS: &76
414
+ - &36
415
+ - :Answered
416
+ - :Flagged
417
+ - :Draft
418
+ - :Deleted
419
+ - :Seen
420
+ - "$NotPhishing"
421
+ - "$Phishing"
422
+ OK: &77
423
+ - &37 !ruby/struct:Net::IMAP::ResponseText
424
+ code: !ruby/struct:Net::IMAP::ResponseCode
425
+ name: PERMANENTFLAGS
426
+ data: &35
427
+ - :Answered
428
+ - :Flagged
429
+ - :Draft
430
+ - :Deleted
431
+ - :Seen
432
+ - "$NotPhishing"
433
+ - "$Phishing"
434
+ - :*
435
+ text: " Flags permitted."
436
+ - &38 !ruby/struct:Net::IMAP::ResponseText
437
+ code: !ruby/struct:Net::IMAP::ResponseCode
438
+ name: UIDVALIDITY
439
+ data: 11
440
+ text: " UIDs valid."
441
+ - &39 !ruby/struct:Net::IMAP::ResponseText
442
+ code: !ruby/struct:Net::IMAP::ResponseCode
443
+ name: UIDNEXT
444
+ data: 398
445
+ text: " Predicted next UID."
446
+ - &40 !ruby/struct:Net::IMAP::ResponseText
447
+ code: !ruby/struct:Net::IMAP::ResponseCode
448
+ name: HIGHESTMODSEQ
449
+ data: '24077'
450
+ text: ''
451
+ PERMANENTFLAGS: &78
452
+ - *35
453
+ UIDVALIDITY: &79
454
+ - 11
455
+ EXISTS: &80
456
+ - 385
457
+ RECENT: &81
458
+ - 0
459
+ UIDNEXT: &82
460
+ - 398
461
+ HIGHESTMODSEQ: &83
462
+ - '24077'
463
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
464
+ name: FLAGS
465
+ data: *36
466
+ raw_data: "* FLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen $NotPhishing
467
+ $Phishing)\r\n"
468
+ - !ruby/struct:Net::IMAP::UntaggedResponse
469
+ name: OK
470
+ data: *37
471
+ raw_data: "* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen
472
+ $NotPhishing $Phishing \\*)] Flags permitted.\r\n"
473
+ - !ruby/struct:Net::IMAP::UntaggedResponse
474
+ name: OK
475
+ data: *38
476
+ raw_data: "* OK [UIDVALIDITY 11] UIDs valid.\r\n"
477
+ - !ruby/struct:Net::IMAP::UntaggedResponse
478
+ name: EXISTS
479
+ data: 385
480
+ raw_data: "* 385 EXISTS\r\n"
481
+ - !ruby/struct:Net::IMAP::UntaggedResponse
482
+ name: RECENT
483
+ data: 0
484
+ raw_data: "* 0 RECENT\r\n"
485
+ - !ruby/struct:Net::IMAP::UntaggedResponse
486
+ name: OK
487
+ data: *39
488
+ raw_data: "* OK [UIDNEXT 398] Predicted next UID.\r\n"
489
+ - !ruby/struct:Net::IMAP::UntaggedResponse
490
+ name: OK
491
+ data: *40
492
+ raw_data: "* OK [HIGHESTMODSEQ 24077]\r\n"
493
+ - !ruby/struct:Net::IMAP::TaggedResponse
494
+ tag: RUBY0007
495
+ name: OK
496
+ data: *41
497
+ raw_data: "RUBY0007 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
498
+ - - :return
499
+ - !ruby/struct:Net::IMAP::TaggedResponse
500
+ tag: RUBY0009
501
+ name: OK
502
+ data: &48 !ruby/struct:Net::IMAP::ResponseText
503
+ code: !ruby/struct:Net::IMAP::ResponseCode
504
+ name: READ-WRITE
505
+ data:
506
+ text: " [Gmail]/All Mail selected. (Success)"
507
+ raw_data: "RUBY0009 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
508
+ - FLAGS: &86
509
+ - &43
510
+ - :Answered
511
+ - :Flagged
512
+ - :Draft
513
+ - :Deleted
514
+ - :Seen
515
+ - "$NotPhishing"
516
+ - "$Phishing"
517
+ OK: &87
518
+ - &44 !ruby/struct:Net::IMAP::ResponseText
519
+ code: !ruby/struct:Net::IMAP::ResponseCode
520
+ name: PERMANENTFLAGS
521
+ data: &42
522
+ - :Answered
523
+ - :Flagged
524
+ - :Draft
525
+ - :Deleted
526
+ - :Seen
527
+ - "$NotPhishing"
528
+ - "$Phishing"
529
+ - :*
530
+ text: " Flags permitted."
531
+ - &45 !ruby/struct:Net::IMAP::ResponseText
532
+ code: !ruby/struct:Net::IMAP::ResponseCode
533
+ name: UIDVALIDITY
534
+ data: 11
535
+ text: " UIDs valid."
536
+ - &46 !ruby/struct:Net::IMAP::ResponseText
537
+ code: !ruby/struct:Net::IMAP::ResponseCode
538
+ name: UIDNEXT
539
+ data: 398
540
+ text: " Predicted next UID."
541
+ - &47 !ruby/struct:Net::IMAP::ResponseText
542
+ code: !ruby/struct:Net::IMAP::ResponseCode
543
+ name: HIGHESTMODSEQ
544
+ data: '24077'
545
+ text: ''
546
+ PERMANENTFLAGS: &88
547
+ - *42
548
+ UIDVALIDITY: &89
549
+ - 11
550
+ EXISTS: &90
551
+ - 385
552
+ RECENT: &91
553
+ - 0
554
+ UIDNEXT: &92
555
+ - 398
556
+ HIGHESTMODSEQ: &93
557
+ - '24077'
558
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
559
+ name: FLAGS
560
+ data: *43
561
+ raw_data: "* FLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen $NotPhishing
562
+ $Phishing)\r\n"
563
+ - !ruby/struct:Net::IMAP::UntaggedResponse
564
+ name: OK
565
+ data: *44
566
+ raw_data: "* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen
567
+ $NotPhishing $Phishing \\*)] Flags permitted.\r\n"
568
+ - !ruby/struct:Net::IMAP::UntaggedResponse
569
+ name: OK
570
+ data: *45
571
+ raw_data: "* OK [UIDVALIDITY 11] UIDs valid.\r\n"
572
+ - !ruby/struct:Net::IMAP::UntaggedResponse
573
+ name: EXISTS
574
+ data: 385
575
+ raw_data: "* 385 EXISTS\r\n"
576
+ - !ruby/struct:Net::IMAP::UntaggedResponse
577
+ name: RECENT
578
+ data: 0
579
+ raw_data: "* 0 RECENT\r\n"
580
+ - !ruby/struct:Net::IMAP::UntaggedResponse
581
+ name: OK
582
+ data: *46
583
+ raw_data: "* OK [UIDNEXT 398] Predicted next UID.\r\n"
584
+ - !ruby/struct:Net::IMAP::UntaggedResponse
585
+ name: OK
586
+ data: *47
587
+ raw_data: "* OK [HIGHESTMODSEQ 24077]\r\n"
588
+ - !ruby/struct:Net::IMAP::TaggedResponse
589
+ tag: RUBY0009
590
+ name: OK
591
+ data: *48
592
+ raw_data: "RUBY0009 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
593
+ - - :return
594
+ - !ruby/struct:Net::IMAP::TaggedResponse
595
+ tag: RUBY0011
596
+ name: OK
597
+ data: &55 !ruby/struct:Net::IMAP::ResponseText
598
+ code: !ruby/struct:Net::IMAP::ResponseCode
599
+ name: READ-WRITE
600
+ data:
601
+ text: " [Gmail]/All Mail selected. (Success)"
602
+ raw_data: "RUBY0011 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
603
+ - FLAGS: &97
604
+ - &50
605
+ - :Answered
606
+ - :Flagged
607
+ - :Draft
608
+ - :Deleted
609
+ - :Seen
610
+ - "$NotPhishing"
611
+ - "$Phishing"
612
+ OK: &98
613
+ - &51 !ruby/struct:Net::IMAP::ResponseText
614
+ code: !ruby/struct:Net::IMAP::ResponseCode
615
+ name: PERMANENTFLAGS
616
+ data: &49
617
+ - :Answered
618
+ - :Flagged
619
+ - :Draft
620
+ - :Deleted
621
+ - :Seen
622
+ - "$NotPhishing"
623
+ - "$Phishing"
624
+ - :*
625
+ text: " Flags permitted."
626
+ - &52 !ruby/struct:Net::IMAP::ResponseText
627
+ code: !ruby/struct:Net::IMAP::ResponseCode
628
+ name: UIDVALIDITY
629
+ data: 11
630
+ text: " UIDs valid."
631
+ - &53 !ruby/struct:Net::IMAP::ResponseText
632
+ code: !ruby/struct:Net::IMAP::ResponseCode
633
+ name: UIDNEXT
634
+ data: 398
635
+ text: " Predicted next UID."
636
+ - &54 !ruby/struct:Net::IMAP::ResponseText
637
+ code: !ruby/struct:Net::IMAP::ResponseCode
638
+ name: HIGHESTMODSEQ
639
+ data: '24084'
640
+ text: ''
641
+ PERMANENTFLAGS: &99
642
+ - *49
643
+ UIDVALIDITY: &100
644
+ - 11
645
+ EXISTS: &101
646
+ - 385
647
+ RECENT: &102
648
+ - 0
649
+ UIDNEXT: &103
650
+ - 398
651
+ HIGHESTMODSEQ: &104
652
+ - '24084'
653
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
654
+ name: FLAGS
655
+ data: *50
656
+ raw_data: "* FLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen $NotPhishing
657
+ $Phishing)\r\n"
658
+ - !ruby/struct:Net::IMAP::UntaggedResponse
659
+ name: OK
660
+ data: *51
661
+ raw_data: "* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen
662
+ $NotPhishing $Phishing \\*)] Flags permitted.\r\n"
663
+ - !ruby/struct:Net::IMAP::UntaggedResponse
664
+ name: OK
665
+ data: *52
666
+ raw_data: "* OK [UIDVALIDITY 11] UIDs valid.\r\n"
667
+ - !ruby/struct:Net::IMAP::UntaggedResponse
668
+ name: EXISTS
669
+ data: 385
670
+ raw_data: "* 385 EXISTS\r\n"
671
+ - !ruby/struct:Net::IMAP::UntaggedResponse
672
+ name: RECENT
673
+ data: 0
674
+ raw_data: "* 0 RECENT\r\n"
675
+ - !ruby/struct:Net::IMAP::UntaggedResponse
676
+ name: OK
677
+ data: *53
678
+ raw_data: "* OK [UIDNEXT 398] Predicted next UID.\r\n"
679
+ - !ruby/struct:Net::IMAP::UntaggedResponse
680
+ name: OK
681
+ data: *54
682
+ raw_data: "* OK [HIGHESTMODSEQ 24084]\r\n"
683
+ - !ruby/struct:Net::IMAP::TaggedResponse
684
+ tag: RUBY0011
685
+ name: OK
686
+ data: *55
687
+ raw_data: "RUBY0011 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
688
+ UID SEARCH-0010f3078427015fc193bf14c1871582:
689
+ - - :return
690
+ - !ruby/struct:Net::IMAP::TaggedResponse
691
+ tag: RUBY0004
692
+ name: OK
693
+ data: &65 !ruby/struct:Net::IMAP::ResponseText
694
+ code:
695
+ text: SEARCH completed (Success)
696
+ raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
697
+ - FLAGS: *56
698
+ OK: *57
699
+ PERMANENTFLAGS: *58
700
+ UIDVALIDITY: *59
701
+ EXISTS: *60
702
+ RECENT: *61
703
+ UIDNEXT: *62
704
+ HIGHESTMODSEQ: *63
705
+ SEARCH:
706
+ - &64
707
+ - 4
708
+ - 5
709
+ - 11
710
+ - 12
711
+ - 13
712
+ - 14
713
+ - 15
714
+ - 16
715
+ - 17
716
+ - 18
717
+ - 19
718
+ - 20
719
+ - 21
720
+ - 22
721
+ - 23
722
+ - 24
723
+ - 25
724
+ - 26
725
+ - 27
726
+ - 28
727
+ - 29
728
+ - 30
729
+ - 31
730
+ - 32
731
+ - 33
732
+ - 34
733
+ - 35
734
+ - 36
735
+ - 37
736
+ - 38
737
+ - 39
738
+ - 40
739
+ - 41
740
+ - 42
741
+ - 43
742
+ - 44
743
+ - 45
744
+ - 46
745
+ - 47
746
+ - 48
747
+ - 49
748
+ - 50
749
+ - 51
750
+ - 52
751
+ - 53
752
+ - 54
753
+ - 55
754
+ - 56
755
+ - 57
756
+ - 58
757
+ - 59
758
+ - 60
759
+ - 61
760
+ - 62
761
+ - 63
762
+ - 64
763
+ - 65
764
+ - 66
765
+ - 67
766
+ - 68
767
+ - 69
768
+ - 70
769
+ - 71
770
+ - 72
771
+ - 73
772
+ - 74
773
+ - 75
774
+ - 76
775
+ - 77
776
+ - 78
777
+ - 79
778
+ - 80
779
+ - 81
780
+ - 82
781
+ - 83
782
+ - 84
783
+ - 85
784
+ - 86
785
+ - 87
786
+ - 88
787
+ - 89
788
+ - 90
789
+ - 91
790
+ - 92
791
+ - 93
792
+ - 94
793
+ - 95
794
+ - 96
795
+ - 97
796
+ - 98
797
+ - 99
798
+ - 100
799
+ - 101
800
+ - 102
801
+ - 103
802
+ - 104
803
+ - 105
804
+ - 106
805
+ - 107
806
+ - 108
807
+ - 109
808
+ - 110
809
+ - 111
810
+ - 112
811
+ - 113
812
+ - 114
813
+ - 115
814
+ - 116
815
+ - 117
816
+ - 118
817
+ - 119
818
+ - 120
819
+ - 121
820
+ - 122
821
+ - 123
822
+ - 124
823
+ - 125
824
+ - 126
825
+ - 127
826
+ - 128
827
+ - 129
828
+ - 130
829
+ - 131
830
+ - 132
831
+ - 133
832
+ - 134
833
+ - 135
834
+ - 136
835
+ - 137
836
+ - 138
837
+ - 139
838
+ - 140
839
+ - 141
840
+ - 142
841
+ - 143
842
+ - 144
843
+ - 145
844
+ - 157
845
+ - 158
846
+ - 159
847
+ - 160
848
+ - 161
849
+ - 162
850
+ - 166
851
+ - 167
852
+ - 168
853
+ - 169
854
+ - 170
855
+ - 171
856
+ - 172
857
+ - 173
858
+ - 174
859
+ - 175
860
+ - 176
861
+ - 177
862
+ - 178
863
+ - 179
864
+ - 180
865
+ - 181
866
+ - 182
867
+ - 183
868
+ - 184
869
+ - 185
870
+ - 190
871
+ - 191
872
+ - 192
873
+ - 193
874
+ - 194
875
+ - 195
876
+ - 196
877
+ - 197
878
+ - 198
879
+ - 199
880
+ - 200
881
+ - 201
882
+ - 202
883
+ - 203
884
+ - 204
885
+ - 205
886
+ - 206
887
+ - 207
888
+ - 208
889
+ - 209
890
+ - 210
891
+ - 211
892
+ - 212
893
+ - 213
894
+ - 214
895
+ - 215
896
+ - 216
897
+ - 217
898
+ - 218
899
+ - 219
900
+ - 220
901
+ - 221
902
+ - 222
903
+ - 223
904
+ - 224
905
+ - 225
906
+ - 226
907
+ - 227
908
+ - 228
909
+ - 229
910
+ - 230
911
+ - 231
912
+ - 232
913
+ - 233
914
+ - 234
915
+ - 235
916
+ - 236
917
+ - 237
918
+ - 238
919
+ - 239
920
+ - 240
921
+ - 241
922
+ - 242
923
+ - 243
924
+ - 244
925
+ - 245
926
+ - 247
927
+ - 284
928
+ - 285
929
+ - 286
930
+ - 287
931
+ - 288
932
+ - 289
933
+ - 290
934
+ - 291
935
+ - 292
936
+ - 293
937
+ - 294
938
+ - 295
939
+ - 296
940
+ - 297
941
+ - 298
942
+ - 299
943
+ - 300
944
+ - 301
945
+ - 302
946
+ - 303
947
+ - 304
948
+ - 305
949
+ - 306
950
+ - 307
951
+ - 308
952
+ - 309
953
+ - 310
954
+ - 311
955
+ - 312
956
+ - 313
957
+ - 314
958
+ - 315
959
+ - 316
960
+ - 317
961
+ - 318
962
+ - 319
963
+ - 320
964
+ - 321
965
+ - 322
966
+ - 323
967
+ - 324
968
+ - 325
969
+ - 326
970
+ - 327
971
+ - 328
972
+ - 329
973
+ - 330
974
+ - 331
975
+ - 332
976
+ - 333
977
+ - 334
978
+ - 335
979
+ - 336
980
+ - 337
981
+ - 338
982
+ - 339
983
+ - 340
984
+ - 341
985
+ - 342
986
+ - 343
987
+ - 345
988
+ - 346
989
+ - 347
990
+ - 348
991
+ - 349
992
+ - 351
993
+ - 352
994
+ - 353
995
+ - 354
996
+ - 355
997
+ - 358
998
+ - 359
999
+ - 360
1000
+ - 361
1001
+ - 362
1002
+ - 366
1003
+ - 367
1004
+ - 368
1005
+ - 369
1006
+ - 370
1007
+ - 372
1008
+ - 373
1009
+ - 374
1010
+ - 375
1011
+ - 376
1012
+ - 377
1013
+ - 378
1014
+ - 379
1015
+ - 380
1016
+ - 381
1017
+ - 382
1018
+ - 383
1019
+ - 384
1020
+ - 385
1021
+ - 386
1022
+ - 387
1023
+ - 388
1024
+ - 389
1025
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1026
+ name: SEARCH
1027
+ data: *64
1028
+ raw_data: "* SEARCH 4 5 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
1029
+ 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
1030
+ 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
1031
+ 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
1032
+ 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
1033
+ 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
1034
+ 141 142 143 144 145 157 158 159 160 161 162 166 167 168 169 170 171 172 173
1035
+ 174 175 176 177 178 179 180 181 182 183 184 185 190 191 192 193 194 195 196
1036
+ 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
1037
+ 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
1038
+ 235 236 237 238 239 240 241 242 243 244 245 247 284 285 286 287 288 289 290
1039
+ 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
1040
+ 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328
1041
+ 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 345 346 347 348
1042
+ 349 351 352 353 354 355 358 359 360 361 362 366 367 368 369 370 372 373 374
1043
+ 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389\r\n"
1044
+ - !ruby/struct:Net::IMAP::TaggedResponse
1045
+ tag: RUBY0004
1046
+ name: OK
1047
+ data: *65
1048
+ raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
1049
+ UID STORE-88fe1d9d45d4c8dee83862d0e39b8c2e:
1050
+ - - :return
1051
+ - !ruby/struct:Net::IMAP::TaggedResponse
1052
+ tag: RUBY0006
1053
+ name: OK
1054
+ data: &75 !ruby/struct:Net::IMAP::ResponseText
1055
+ code:
1056
+ text: Success
1057
+ raw_data: "RUBY0006 OK Success\r\n"
1058
+ - FLAGS: *66
1059
+ OK: *67
1060
+ PERMANENTFLAGS: *68
1061
+ UIDVALIDITY: *69
1062
+ EXISTS: *70
1063
+ RECENT: *71
1064
+ UIDNEXT: *72
1065
+ HIGHESTMODSEQ: *73
1066
+ FETCH:
1067
+ - &74 !ruby/struct:Net::IMAP::FetchData
1068
+ seqno: 378
1069
+ attr:
1070
+ X-GM-LABELS:
1071
+ - :Important
1072
+ - :Inbox
1073
+ - :Sent
1074
+ - Awesome
1075
+ - Great
1076
+ UID: 389
1077
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1078
+ name: FETCH
1079
+ data: *74
1080
+ raw_data: "* 378 FETCH (X-GM-LABELS (\"\\\\Important\" \"\\\\Inbox\" \"\\\\Sent\"
1081
+ Awesome Great) UID 389)\r\n"
1082
+ - !ruby/struct:Net::IMAP::TaggedResponse
1083
+ tag: RUBY0006
1084
+ name: OK
1085
+ data: *75
1086
+ raw_data: "RUBY0006 OK Success\r\n"
1087
+ UID STORE-4548e69275486d9ac1ee7f7adaac573d:
1088
+ - - :return
1089
+ - !ruby/struct:Net::IMAP::TaggedResponse
1090
+ tag: RUBY0008
1091
+ name: OK
1092
+ data: &85 !ruby/struct:Net::IMAP::ResponseText
1093
+ code:
1094
+ text: Success
1095
+ raw_data: "RUBY0008 OK Success\r\n"
1096
+ - FLAGS: *76
1097
+ OK: *77
1098
+ PERMANENTFLAGS: *78
1099
+ UIDVALIDITY: *79
1100
+ EXISTS: *80
1101
+ RECENT: *81
1102
+ UIDNEXT: *82
1103
+ HIGHESTMODSEQ: *83
1104
+ FETCH:
1105
+ - &84 !ruby/struct:Net::IMAP::FetchData
1106
+ seqno: 378
1107
+ attr:
1108
+ X-GM-LABELS:
1109
+ - :Important
1110
+ - :Inbox
1111
+ - :Sent
1112
+ - Awesome
1113
+ - Great
1114
+ UID: 389
1115
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1116
+ name: FETCH
1117
+ data: *84
1118
+ raw_data: "* 378 FETCH (X-GM-LABELS (\"\\\\Important\" \"\\\\Inbox\" \"\\\\Sent\"
1119
+ Awesome Great) UID 389)\r\n"
1120
+ - !ruby/struct:Net::IMAP::TaggedResponse
1121
+ tag: RUBY0008
1122
+ name: OK
1123
+ data: *85
1124
+ raw_data: "RUBY0008 OK Success\r\n"
1125
+ UID STORE-95c20c767f21405c06f834587e39f252:
1126
+ - - :return
1127
+ - !ruby/struct:Net::IMAP::TaggedResponse
1128
+ tag: RUBY0010
1129
+ name: OK
1130
+ data: &96 !ruby/struct:Net::IMAP::ResponseText
1131
+ code:
1132
+ text: Success
1133
+ raw_data: "RUBY0010 OK Success\r\n"
1134
+ - FLAGS: *86
1135
+ OK: *87
1136
+ PERMANENTFLAGS: *88
1137
+ UIDVALIDITY: *89
1138
+ EXISTS: *90
1139
+ RECENT: *91
1140
+ UIDNEXT: *92
1141
+ HIGHESTMODSEQ: *93
1142
+ FETCH:
1143
+ - &94 !ruby/struct:Net::IMAP::FetchData
1144
+ seqno: 378
1145
+ attr:
1146
+ X-GM-LABELS:
1147
+ - :Important
1148
+ - :Inbox
1149
+ - :Sent
1150
+ - Great
1151
+ UID: 389
1152
+ - &95 !ruby/struct:Net::IMAP::FetchData
1153
+ seqno: 378
1154
+ attr:
1155
+ UID: 389
1156
+ FLAGS: []
1157
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1158
+ name: FETCH
1159
+ data: *94
1160
+ raw_data: "* 378 FETCH (X-GM-LABELS (\"\\\\Important\" \"\\\\Inbox\" \"\\\\Sent\"
1161
+ Great) UID 389)\r\n"
1162
+ - !ruby/struct:Net::IMAP::UntaggedResponse
1163
+ name: FETCH
1164
+ data: *95
1165
+ raw_data: "* 378 FETCH (UID 389 FLAGS ())\r\n"
1166
+ - !ruby/struct:Net::IMAP::TaggedResponse
1167
+ tag: RUBY0010
1168
+ name: OK
1169
+ data: *96
1170
+ raw_data: "RUBY0010 OK Success\r\n"
1171
+ UID FETCH-ca88bb8099c141a1a108f56df2e80d19:
1172
+ - - :return
1173
+ - !ruby/struct:Net::IMAP::TaggedResponse
1174
+ tag: RUBY0012
1175
+ name: OK
1176
+ data: &106 !ruby/struct:Net::IMAP::ResponseText
1177
+ code:
1178
+ text: Success
1179
+ raw_data: "RUBY0012 OK Success\r\n"
1180
+ - FLAGS: *97
1181
+ OK: *98
1182
+ PERMANENTFLAGS: *99
1183
+ UIDVALIDITY: *100
1184
+ EXISTS: *101
1185
+ RECENT: *102
1186
+ UIDNEXT: *103
1187
+ HIGHESTMODSEQ: *104
1188
+ FETCH:
1189
+ - &105 !ruby/struct:Net::IMAP::FetchData
1190
+ seqno: 378
1191
+ attr:
1192
+ X-GM-THRID: 1505981211390055669
1193
+ X-GM-MSGID: 1505981211390055669
1194
+ X-GM-LABELS:
1195
+ - :Important
1196
+ - :Inbox
1197
+ - :Sent
1198
+ - Great
1199
+ UID: 389
1200
+ FLAGS: []
1201
+ ENVELOPE: !ruby/struct:Net::IMAP::Envelope
1202
+ date: Mon, 06 Jul 2015 20:46:41 +0000
1203
+ subject: Hello world!
1204
+ from:
1205
+ - !ruby/struct:Net::IMAP::Address
1206
+ name:
1207
+ route:
1208
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
1209
+ host: gmail.com
1210
+ sender:
1211
+ - !ruby/struct:Net::IMAP::Address
1212
+ name:
1213
+ route:
1214
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
1215
+ host: gmail.com
1216
+ reply_to:
1217
+ - !ruby/struct:Net::IMAP::Address
1218
+ name:
1219
+ route:
1220
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
1221
+ host: gmail.com
1222
+ to:
1223
+ - !ruby/struct:Net::IMAP::Address
1224
+ name:
1225
+ route:
1226
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
1227
+ host: gmail.com
1228
+ cc:
1229
+ bcc:
1230
+ in_reply_to:
1231
+ message_id: "<559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>"
1232
+ BODY[]: "Return-Path: <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nReceived:
1233
+ from gmail.com (ec2-52-0-240-122.compute-1.amazonaws.com. [52.0.240.122])\r\n
1234
+ \ by mx.google.com with ESMTPSA id a72sm9998623qgf.17.2015.07.06.13.46.41\r\n
1235
+ \ for <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\n (version=TLSv1.1
1236
+ cipher=ECDHE-RSA-RC4-SHA bits=128/128);\r\n Mon, 06 Jul 2015 13:46:42
1237
+ -0700 (PDT)\r\nDate: Mon, 06 Jul 2015 20:46:41 +0000\r\nFrom: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nTo:
1238
+ ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID: <559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>\r\nSubject:
1239
+ Hello world!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding:
1240
+ 7bit\r\n\r\nYeah, hello there!\r\n"
1241
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1242
+ name: FETCH
1243
+ data: *105
1244
+ raw_data: "* 378 FETCH (X-GM-THRID 1505981211390055669 X-GM-MSGID 1505981211390055669
1245
+ X-GM-LABELS (\"\\\\Important\" \"\\\\Inbox\" \"\\\\Sent\" Great) UID 389 FLAGS
1246
+ () ENVELOPE (\"Mon, 06 Jul 2015 20:46:41 +0000\" \"Hello world!\" ((NIL NIL
1247
+ \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\" \"gmail.com\")) ((NIL NIL \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\"
1248
+ \"gmail.com\")) ((NIL NIL \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\" \"gmail.com\"))
1249
+ ((NIL NIL \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\" \"gmail.com\")) NIL NIL NIL \"<559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>\")
1250
+ BODY[] {764}\r\nReturn-Path: <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nReceived:
1251
+ from gmail.com (ec2-52-0-240-122.compute-1.amazonaws.com. [52.0.240.122])\r\n
1252
+ \ by mx.google.com with ESMTPSA id a72sm9998623qgf.17.2015.07.06.13.46.41\r\n
1253
+ \ for <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\n (version=TLSv1.1
1254
+ cipher=ECDHE-RSA-RC4-SHA bits=128/128);\r\n Mon, 06 Jul 2015 13:46:42
1255
+ -0700 (PDT)\r\nDate: Mon, 06 Jul 2015 20:46:41 +0000\r\nFrom: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nTo:
1256
+ ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID: <559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>\r\nSubject:
1257
+ Hello world!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding:
1258
+ 7bit\r\n\r\nYeah, hello there!\r\n)\r\n"
1259
+ - !ruby/struct:Net::IMAP::TaggedResponse
1260
+ tag: RUBY0012
1261
+ name: OK
1262
+ data: *106
1263
+ raw_data: "RUBY0012 OK Success\r\n"
1264
+ LOGOUT-e76a09b7766d60a37ff9e1af527a143e:
1265
+ - - :return
1266
+ - !ruby/struct:Net::IMAP::TaggedResponse
1267
+ tag: RUBY0013
1268
+ name: OK
1269
+ data: !ruby/struct:Net::IMAP::ResponseText
1270
+ code:
1271
+ text: 73 good day (Success)
1272
+ raw_data: "RUBY0013 OK 73 good day (Success)\r\n"
1273
+ - FLAGS: *97
1274
+ OK: *98
1275
+ PERMANENTFLAGS: *99
1276
+ UIDVALIDITY: *100
1277
+ EXISTS: *101
1278
+ RECENT: *102
1279
+ UIDNEXT: *103
1280
+ HIGHESTMODSEQ: *104
1281
+ BYE:
1282
+ - &107 !ruby/struct:Net::IMAP::ResponseText
1283
+ code:
1284
+ text: LOGOUT Requested
1285
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1286
+ name: BYE
1287
+ data: *107
1288
+ raw_data: "* BYE LOGOUT Requested\r\n"