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,862 +1,1447 @@
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: &8
135
- - - :Answered
136
- - :Flagged
137
- - :Draft
138
- - :Deleted
139
- - :Seen
140
- - "$Phishing"
141
- - "$NotPhishing"
142
- OK: &9
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: '14734'
170
- text: ''
171
- PERMANENTFLAGS: &10
172
- - *2
173
- UIDVALIDITY: &11
174
- - 11
175
- EXISTS: &12
176
- - 181
177
- RECENT: &13
178
- - 0
179
- UIDNEXT: &14
180
- - 190
181
- HIGHESTMODSEQ: &15
182
- - '14734'
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: &16
194
- - - :Answered
195
- - :Flagged
196
- - :Draft
197
- - :Deleted
198
- - :Seen
199
- - "$Phishing"
200
- - "$NotPhishing"
201
- OK: &17
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: '14734'
229
- text: ''
230
- PERMANENTFLAGS: &18
231
- - *3
232
- UIDVALIDITY: &19
233
- - 11
234
- EXISTS: &20
235
- - 181
236
- RECENT: &21
237
- - 0
238
- UIDNEXT: &22
239
- - 190
240
- HIGHESTMODSEQ: &23
241
- - '14734'
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: &24
253
- - - :Answered
254
- - :Flagged
255
- - :Draft
256
- - :Deleted
257
- - :Seen
258
- - "$Phishing"
259
- - "$NotPhishing"
260
- OK: &25
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: '14741'
288
- text: ''
289
- PERMANENTFLAGS: &26
290
- - *4
291
- UIDVALIDITY: &27
292
- - 11
293
- EXISTS: &28
294
- - 181
295
- RECENT: &29
296
- - 0
297
- UIDNEXT: &30
298
- - 190
299
- HIGHESTMODSEQ: &31
300
- - '14741'
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: &32
312
- - - :Answered
313
- - :Flagged
314
- - :Draft
315
- - :Deleted
316
- - :Seen
317
- - "$Phishing"
318
- - "$NotPhishing"
319
- OK: &33
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: '14748'
347
- text: ''
348
- PERMANENTFLAGS: &34
349
- - *5
350
- UIDVALIDITY: &35
351
- - 11
352
- EXISTS: &36
353
- - 181
354
- RECENT: &37
355
- - 0
356
- UIDNEXT: &38
357
- - 190
358
- HIGHESTMODSEQ: &39
359
- - '14748'
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: &40
371
- - - :Answered
372
- - :Flagged
373
- - :Draft
374
- - :Deleted
375
- - :Seen
376
- - "$Phishing"
377
- - "$NotPhishing"
378
- OK: &41
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: '14755'
406
- text: ''
407
- PERMANENTFLAGS: &42
408
- - *6
409
- UIDVALIDITY: &43
410
- - 11
411
- EXISTS: &44
412
- - 181
413
- RECENT: &45
414
- - 0
415
- UIDNEXT: &46
416
- - 190
417
- HIGHESTMODSEQ: &47
418
- - '14755'
419
- - - :return
420
- - !ruby/struct:Net::IMAP::TaggedResponse
421
- tag: RUBY0013
422
- name: OK
423
- data: !ruby/struct:Net::IMAP::ResponseText
424
- code: !ruby/struct:Net::IMAP::ResponseCode
425
- name: READ-WRITE
426
- data:
427
- text: " [Gmail]/All Mail selected. (Success)"
428
- raw_data: "RUBY0013 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
429
- - FLAGS: &48
430
- - - :Answered
431
- - :Flagged
432
- - :Draft
433
- - :Deleted
434
- - :Seen
435
- - "$Phishing"
436
- - "$NotPhishing"
437
- OK: &49
438
- - !ruby/struct:Net::IMAP::ResponseText
439
- code: !ruby/struct:Net::IMAP::ResponseCode
440
- name: PERMANENTFLAGS
441
- data: &7
442
- - :Answered
443
- - :Flagged
444
- - :Draft
445
- - :Deleted
446
- - :Seen
447
- - "$Phishing"
448
- - "$NotPhishing"
449
- - :*
450
- text: " Flags permitted."
451
- - !ruby/struct:Net::IMAP::ResponseText
452
- code: !ruby/struct:Net::IMAP::ResponseCode
453
- name: UIDVALIDITY
454
- data: 11
455
- text: " UIDs valid."
456
- - !ruby/struct:Net::IMAP::ResponseText
457
- code: !ruby/struct:Net::IMAP::ResponseCode
458
- name: UIDNEXT
459
- data: 190
460
- text: " Predicted next UID."
461
- - !ruby/struct:Net::IMAP::ResponseText
462
- code: !ruby/struct:Net::IMAP::ResponseCode
463
- name: HIGHESTMODSEQ
464
- data: '14762'
465
- text: ''
466
- PERMANENTFLAGS: &50
467
- - *7
468
- UIDVALIDITY: &51
469
- - 11
470
- EXISTS: &52
471
- - 181
472
- RECENT: &53
473
- - 0
474
- UIDNEXT: &54
475
- - 190
476
- HIGHESTMODSEQ: &55
477
- - '14762'
478
- UID SEARCH-0010f3078427015fc193bf14c1871582:
479
- - - :return
480
- - !ruby/struct:Net::IMAP::TaggedResponse
481
- tag: RUBY0004
482
- name: OK
483
- data: !ruby/struct:Net::IMAP::ResponseText
484
- code:
485
- text: SEARCH completed (Success)
486
- raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
487
- - FLAGS: *8
488
- OK: *9
489
- PERMANENTFLAGS: *10
490
- UIDVALIDITY: *11
491
- EXISTS: *12
492
- RECENT: *13
493
- UIDNEXT: *14
494
- HIGHESTMODSEQ: *15
495
- SEARCH:
496
- - - 4
497
- - 5
498
- - 11
499
- - 12
500
- - 13
501
- - 14
502
- - 15
503
- - 16
504
- - 17
505
- - 18
506
- - 19
507
- - 20
508
- - 21
509
- - 22
510
- - 23
511
- - 24
512
- - 25
513
- - 26
514
- - 27
515
- - 28
516
- - 29
517
- - 30
518
- - 31
519
- - 32
520
- - 33
521
- - 34
522
- - 35
523
- - 36
524
- - 37
525
- - 38
526
- - 39
527
- - 40
528
- - 41
529
- - 42
530
- - 43
531
- - 44
532
- - 45
533
- - 46
534
- - 47
535
- - 48
536
- - 49
537
- - 50
538
- - 51
539
- - 52
540
- - 53
541
- - 54
542
- - 55
543
- - 56
544
- - 57
545
- - 58
546
- - 59
547
- - 60
548
- - 61
549
- - 62
550
- - 63
551
- - 64
552
- - 65
553
- - 66
554
- - 67
555
- - 68
556
- - 69
557
- - 70
558
- - 71
559
- - 72
560
- - 73
561
- - 74
562
- - 75
563
- - 76
564
- - 77
565
- - 78
566
- - 79
567
- - 80
568
- - 81
569
- - 82
570
- - 83
571
- - 84
572
- - 85
573
- - 86
574
- - 87
575
- - 88
576
- - 89
577
- - 90
578
- - 91
579
- - 92
580
- - 93
581
- - 94
582
- - 95
583
- - 96
584
- - 97
585
- - 98
586
- - 99
587
- - 100
588
- - 101
589
- - 102
590
- - 103
591
- - 104
592
- - 105
593
- - 106
594
- - 107
595
- - 108
596
- - 109
597
- - 110
598
- - 111
599
- - 112
600
- - 113
601
- - 114
602
- - 115
603
- - 116
604
- - 117
605
- - 118
606
- - 119
607
- - 120
608
- - 121
609
- - 122
610
- - 123
611
- - 124
612
- - 125
613
- - 126
614
- - 127
615
- - 128
616
- - 129
617
- - 130
618
- - 131
619
- - 132
620
- - 133
621
- - 134
622
- - 135
623
- - 136
624
- - 137
625
- - 138
626
- - 139
627
- - 140
628
- - 141
629
- - 142
630
- - 143
631
- - 144
632
- - 145
633
- - 157
634
- - 158
635
- - 159
636
- - 160
637
- - 161
638
- - 162
639
- - 166
640
- - 167
641
- - 168
642
- - 169
643
- - 170
644
- - 171
645
- - 172
646
- - 173
647
- - 174
648
- - 175
649
- - 176
650
- - 177
651
- - 178
652
- - 179
653
- - 180
654
- - 181
655
- - 182
656
- - 183
657
- - 184
658
- - 185
659
- - 188
660
- - 189
661
- UID STORE-ac884ffbfb66da354d64b0f2d42a166f:
662
- - - :return
663
- - !ruby/struct:Net::IMAP::TaggedResponse
664
- tag: RUBY0006
665
- name: OK
666
- data: !ruby/struct:Net::IMAP::ResponseText
667
- code:
668
- text: Success
669
- raw_data: "RUBY0006 OK Success\r\n"
670
- - FLAGS: *16
671
- OK: *17
672
- PERMANENTFLAGS: *18
673
- UIDVALIDITY: *19
674
- EXISTS: *20
675
- RECENT: *21
676
- UIDNEXT: *22
677
- HIGHESTMODSEQ: *23
678
- FETCH:
679
- - !ruby/struct:Net::IMAP::FetchData
680
- seqno: 181
681
- attr:
682
- X-GM-LABELS:
683
- - "\\Important"
684
- - "\\Inbox"
685
- - "\\Sent"
686
- - Awesome
687
- - Great
688
- UID: 189
689
- UID STORE-e1d9a7c253865f43e2e1170eb52cfcec:
690
- - - :return
691
- - !ruby/struct:Net::IMAP::TaggedResponse
692
- tag: RUBY0008
693
- name: OK
694
- data: !ruby/struct:Net::IMAP::ResponseText
695
- code:
696
- text: Success
697
- raw_data: "RUBY0008 OK Success\r\n"
698
- - FLAGS: *24
699
- OK: *25
700
- PERMANENTFLAGS: *26
701
- UIDVALIDITY: *27
702
- EXISTS: *28
703
- RECENT: *29
704
- UIDNEXT: *30
705
- HIGHESTMODSEQ: *31
706
- FETCH:
707
- - !ruby/struct:Net::IMAP::FetchData
708
- seqno: 181
709
- attr:
710
- X-GM-LABELS:
711
- - "\\Important"
712
- - "\\Inbox"
713
- - "\\Sent"
714
- - Awesome
715
- UID: 189
716
- UID STORE-c2d6f8de722e6c9f06f0a6a1a4163f69:
717
- - - :return
718
- - !ruby/struct:Net::IMAP::TaggedResponse
719
- tag: RUBY0010
720
- name: OK
721
- data: !ruby/struct:Net::IMAP::ResponseText
722
- code:
723
- text: Success
724
- raw_data: "RUBY0010 OK Success\r\n"
725
- - FLAGS: *32
726
- OK: *33
727
- PERMANENTFLAGS: *34
728
- UIDVALIDITY: *35
729
- EXISTS: *36
730
- RECENT: *37
731
- UIDNEXT: *38
732
- HIGHESTMODSEQ: *39
733
- FETCH:
734
- - !ruby/struct:Net::IMAP::FetchData
735
- seqno: 181
736
- attr:
737
- X-GM-LABELS:
738
- - "\\Important"
739
- - "\\Inbox"
740
- - "\\Sent"
741
- - Awesome
742
- - Great
743
- UID: 189
744
- UID STORE-2e46c35991051e7831af457bc2435903:
745
- - - :return
746
- - !ruby/struct:Net::IMAP::TaggedResponse
747
- tag: RUBY0012
748
- name: OK
749
- data: !ruby/struct:Net::IMAP::ResponseText
750
- code:
751
- text: Success
752
- raw_data: "RUBY0012 OK Success\r\n"
753
- - FLAGS: *40
754
- OK: *41
755
- PERMANENTFLAGS: *42
756
- UIDVALIDITY: *43
757
- EXISTS: *44
758
- RECENT: *45
759
- UIDNEXT: *46
760
- HIGHESTMODSEQ: *47
761
- FETCH:
762
- - !ruby/struct:Net::IMAP::FetchData
763
- seqno: 181
764
- attr:
765
- X-GM-LABELS:
766
- - "\\Important"
767
- - "\\Inbox"
768
- - "\\Sent"
769
- - Great
770
- UID: 189
771
- UID FETCH-c91d19726aebc8362537324efef9b96b:
772
- - - :return
773
- - !ruby/struct:Net::IMAP::TaggedResponse
774
- tag: RUBY0014
775
- name: OK
776
- data: !ruby/struct:Net::IMAP::ResponseText
777
- code:
778
- text: Success
779
- raw_data: "RUBY0014 OK Success\r\n"
780
- - FLAGS: *48
781
- OK: *49
782
- PERMANENTFLAGS: *50
783
- UIDVALIDITY: *51
784
- EXISTS: *52
785
- RECENT: *53
786
- UIDNEXT: *54
787
- HIGHESTMODSEQ: *55
788
- FETCH:
789
- - !ruby/struct:Net::IMAP::FetchData
790
- seqno: 181
791
- attr:
792
- X-GM-THRID: 1490771293684090059
793
- X-GM-MSGID: 1490771293684090059
794
- X-GM-LABELS:
795
- - "\\Important"
796
- - "\\Inbox"
797
- - "\\Sent"
798
- - Great
799
- UID: 189
800
- FLAGS: []
801
- ENVELOPE: !ruby/struct:Net::IMAP::Envelope
802
- date: Mon, 19 Jan 2015 18:31:32 -0500
803
- subject: Hello world!
804
- from:
805
- - !ruby/struct:Net::IMAP::Address
806
- name:
807
- route:
808
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
809
- host: gmail.com
810
- sender:
811
- - !ruby/struct:Net::IMAP::Address
812
- name:
813
- route:
814
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
815
- host: gmail.com
816
- reply_to:
817
- - !ruby/struct:Net::IMAP::Address
818
- name:
819
- route:
820
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
821
- host: gmail.com
822
- to:
823
- - !ruby/struct:Net::IMAP::Address
824
- name:
825
- route:
826
- mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
827
- host: gmail.com
828
- cc:
829
- bcc:
830
- in_reply_to:
831
- message_id: "<54bd93d452c0f_74e73fc534c63bec5352@Jeffs-MBP.mail>"
832
- BODY[]: "Return-Path: <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nReceived:
833
- from gmail.com (99-156-120-246.lightspeed.miamfl.sbcglobal.net. [99.156.120.246])\r\n
834
- \ by mx.google.com with ESMTPSA id a15sm890292oic.18.2015.01.19.15.31.33\r\n
835
- \ for <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\n (version=TLSv1.2
836
- cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r\n Mon, 19 Jan
837
- 2015 15:31:34 -0800 (PST)\r\nDate: Mon, 19 Jan 2015 18:31:32 -0500\r\nFrom:
838
- ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nTo: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID:
839
- <54bd93d452c0f_74e73fc534c63bec5352@Jeffs-MBP.mail>\r\nSubject: Hello world!\r\nMime-Version:
840
- 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding:
841
- 7bit\r\n\r\nYeah, hello there!\r\n"
842
- LOGOUT-e76a09b7766d60a37ff9e1af527a143e:
843
- - - :return
844
- - !ruby/struct:Net::IMAP::TaggedResponse
845
- tag: RUBY0015
846
- name: OK
847
- data: !ruby/struct:Net::IMAP::ResponseText
848
- code:
849
- text: 73 good day (Success)
850
- raw_data: "RUBY0015 OK 73 good day (Success)\r\n"
851
- - FLAGS: *48
852
- OK: *49
853
- PERMANENTFLAGS: *50
854
- UIDVALIDITY: *51
855
- EXISTS: *52
856
- RECENT: *53
857
- UIDNEXT: *54
858
- HIGHESTMODSEQ: *55
859
- BYE:
860
- - !ruby/struct:Net::IMAP::ResponseText
861
- code:
862
- 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: &63
224
+ - &22
225
+ - :Answered
226
+ - :Flagged
227
+ - :Draft
228
+ - :Deleted
229
+ - :Seen
230
+ - "$NotPhishing"
231
+ - "$Phishing"
232
+ OK: &64
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: '24084'
260
+ text: ''
261
+ PERMANENTFLAGS: &65
262
+ - *21
263
+ UIDVALIDITY: &66
264
+ - 11
265
+ EXISTS: &67
266
+ - 385
267
+ RECENT: &68
268
+ - 0
269
+ UIDNEXT: &69
270
+ - 398
271
+ HIGHESTMODSEQ: &70
272
+ - '24084'
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 24084]\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: &73
319
+ - &29
320
+ - :Answered
321
+ - :Flagged
322
+ - :Draft
323
+ - :Deleted
324
+ - :Seen
325
+ - "$NotPhishing"
326
+ - "$Phishing"
327
+ OK: &74
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: '24084'
355
+ text: ''
356
+ PERMANENTFLAGS: &75
357
+ - *28
358
+ UIDVALIDITY: &76
359
+ - 11
360
+ EXISTS: &77
361
+ - 385
362
+ RECENT: &78
363
+ - 0
364
+ UIDNEXT: &79
365
+ - 398
366
+ HIGHESTMODSEQ: &80
367
+ - '24084'
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 24084]\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: &84
414
+ - &36
415
+ - :Answered
416
+ - :Flagged
417
+ - :Draft
418
+ - :Deleted
419
+ - :Seen
420
+ - "$NotPhishing"
421
+ - "$Phishing"
422
+ OK: &85
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: '24091'
450
+ text: ''
451
+ PERMANENTFLAGS: &86
452
+ - *35
453
+ UIDVALIDITY: &87
454
+ - 11
455
+ EXISTS: &88
456
+ - 385
457
+ RECENT: &89
458
+ - 0
459
+ UIDNEXT: &90
460
+ - 398
461
+ HIGHESTMODSEQ: &91
462
+ - '24091'
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 24091]\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: &95
509
+ - &43
510
+ - :Answered
511
+ - :Flagged
512
+ - :Draft
513
+ - :Deleted
514
+ - :Seen
515
+ - "$NotPhishing"
516
+ - "$Phishing"
517
+ OK: &96
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: '24098'
545
+ text: ''
546
+ PERMANENTFLAGS: &97
547
+ - *42
548
+ UIDVALIDITY: &98
549
+ - 11
550
+ EXISTS: &99
551
+ - 385
552
+ RECENT: &100
553
+ - 0
554
+ UIDNEXT: &101
555
+ - 398
556
+ HIGHESTMODSEQ: &102
557
+ - '24098'
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 24098]\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: &106
604
+ - &50
605
+ - :Answered
606
+ - :Flagged
607
+ - :Draft
608
+ - :Deleted
609
+ - :Seen
610
+ - "$NotPhishing"
611
+ - "$Phishing"
612
+ OK: &107
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: '24105'
640
+ text: ''
641
+ PERMANENTFLAGS: &108
642
+ - *49
643
+ UIDVALIDITY: &109
644
+ - 11
645
+ EXISTS: &110
646
+ - 385
647
+ RECENT: &111
648
+ - 0
649
+ UIDNEXT: &112
650
+ - 398
651
+ HIGHESTMODSEQ: &113
652
+ - '24105'
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 24105]\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
+ - - :return
689
+ - !ruby/struct:Net::IMAP::TaggedResponse
690
+ tag: RUBY0013
691
+ name: OK
692
+ data: &62 !ruby/struct:Net::IMAP::ResponseText
693
+ code: !ruby/struct:Net::IMAP::ResponseCode
694
+ name: READ-WRITE
695
+ data:
696
+ text: " [Gmail]/All Mail selected. (Success)"
697
+ raw_data: "RUBY0013 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
698
+ - FLAGS: &117
699
+ - &57
700
+ - :Answered
701
+ - :Flagged
702
+ - :Draft
703
+ - :Deleted
704
+ - :Seen
705
+ - "$NotPhishing"
706
+ - "$Phishing"
707
+ OK: &118
708
+ - &58 !ruby/struct:Net::IMAP::ResponseText
709
+ code: !ruby/struct:Net::IMAP::ResponseCode
710
+ name: PERMANENTFLAGS
711
+ data: &56
712
+ - :Answered
713
+ - :Flagged
714
+ - :Draft
715
+ - :Deleted
716
+ - :Seen
717
+ - "$NotPhishing"
718
+ - "$Phishing"
719
+ - :*
720
+ text: " Flags permitted."
721
+ - &59 !ruby/struct:Net::IMAP::ResponseText
722
+ code: !ruby/struct:Net::IMAP::ResponseCode
723
+ name: UIDVALIDITY
724
+ data: 11
725
+ text: " UIDs valid."
726
+ - &60 !ruby/struct:Net::IMAP::ResponseText
727
+ code: !ruby/struct:Net::IMAP::ResponseCode
728
+ name: UIDNEXT
729
+ data: 398
730
+ text: " Predicted next UID."
731
+ - &61 !ruby/struct:Net::IMAP::ResponseText
732
+ code: !ruby/struct:Net::IMAP::ResponseCode
733
+ name: HIGHESTMODSEQ
734
+ data: '24112'
735
+ text: ''
736
+ PERMANENTFLAGS: &119
737
+ - *56
738
+ UIDVALIDITY: &120
739
+ - 11
740
+ EXISTS: &121
741
+ - 385
742
+ RECENT: &122
743
+ - 0
744
+ UIDNEXT: &123
745
+ - 398
746
+ HIGHESTMODSEQ: &124
747
+ - '24112'
748
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
749
+ name: FLAGS
750
+ data: *57
751
+ raw_data: "* FLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen $NotPhishing
752
+ $Phishing)\r\n"
753
+ - !ruby/struct:Net::IMAP::UntaggedResponse
754
+ name: OK
755
+ data: *58
756
+ raw_data: "* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted \\Seen
757
+ $NotPhishing $Phishing \\*)] Flags permitted.\r\n"
758
+ - !ruby/struct:Net::IMAP::UntaggedResponse
759
+ name: OK
760
+ data: *59
761
+ raw_data: "* OK [UIDVALIDITY 11] UIDs valid.\r\n"
762
+ - !ruby/struct:Net::IMAP::UntaggedResponse
763
+ name: EXISTS
764
+ data: 385
765
+ raw_data: "* 385 EXISTS\r\n"
766
+ - !ruby/struct:Net::IMAP::UntaggedResponse
767
+ name: RECENT
768
+ data: 0
769
+ raw_data: "* 0 RECENT\r\n"
770
+ - !ruby/struct:Net::IMAP::UntaggedResponse
771
+ name: OK
772
+ data: *60
773
+ raw_data: "* OK [UIDNEXT 398] Predicted next UID.\r\n"
774
+ - !ruby/struct:Net::IMAP::UntaggedResponse
775
+ name: OK
776
+ data: *61
777
+ raw_data: "* OK [HIGHESTMODSEQ 24112]\r\n"
778
+ - !ruby/struct:Net::IMAP::TaggedResponse
779
+ tag: RUBY0013
780
+ name: OK
781
+ data: *62
782
+ raw_data: "RUBY0013 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
783
+ UID SEARCH-0010f3078427015fc193bf14c1871582:
784
+ - - :return
785
+ - !ruby/struct:Net::IMAP::TaggedResponse
786
+ tag: RUBY0004
787
+ name: OK
788
+ data: &72 !ruby/struct:Net::IMAP::ResponseText
789
+ code:
790
+ text: SEARCH completed (Success)
791
+ raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
792
+ - FLAGS: *63
793
+ OK: *64
794
+ PERMANENTFLAGS: *65
795
+ UIDVALIDITY: *66
796
+ EXISTS: *67
797
+ RECENT: *68
798
+ UIDNEXT: *69
799
+ HIGHESTMODSEQ: *70
800
+ SEARCH:
801
+ - &71
802
+ - 4
803
+ - 5
804
+ - 11
805
+ - 12
806
+ - 13
807
+ - 14
808
+ - 15
809
+ - 16
810
+ - 17
811
+ - 18
812
+ - 19
813
+ - 20
814
+ - 21
815
+ - 22
816
+ - 23
817
+ - 24
818
+ - 25
819
+ - 26
820
+ - 27
821
+ - 28
822
+ - 29
823
+ - 30
824
+ - 31
825
+ - 32
826
+ - 33
827
+ - 34
828
+ - 35
829
+ - 36
830
+ - 37
831
+ - 38
832
+ - 39
833
+ - 40
834
+ - 41
835
+ - 42
836
+ - 43
837
+ - 44
838
+ - 45
839
+ - 46
840
+ - 47
841
+ - 48
842
+ - 49
843
+ - 50
844
+ - 51
845
+ - 52
846
+ - 53
847
+ - 54
848
+ - 55
849
+ - 56
850
+ - 57
851
+ - 58
852
+ - 59
853
+ - 60
854
+ - 61
855
+ - 62
856
+ - 63
857
+ - 64
858
+ - 65
859
+ - 66
860
+ - 67
861
+ - 68
862
+ - 69
863
+ - 70
864
+ - 71
865
+ - 72
866
+ - 73
867
+ - 74
868
+ - 75
869
+ - 76
870
+ - 77
871
+ - 78
872
+ - 79
873
+ - 80
874
+ - 81
875
+ - 82
876
+ - 83
877
+ - 84
878
+ - 85
879
+ - 86
880
+ - 87
881
+ - 88
882
+ - 89
883
+ - 90
884
+ - 91
885
+ - 92
886
+ - 93
887
+ - 94
888
+ - 95
889
+ - 96
890
+ - 97
891
+ - 98
892
+ - 99
893
+ - 100
894
+ - 101
895
+ - 102
896
+ - 103
897
+ - 104
898
+ - 105
899
+ - 106
900
+ - 107
901
+ - 108
902
+ - 109
903
+ - 110
904
+ - 111
905
+ - 112
906
+ - 113
907
+ - 114
908
+ - 115
909
+ - 116
910
+ - 117
911
+ - 118
912
+ - 119
913
+ - 120
914
+ - 121
915
+ - 122
916
+ - 123
917
+ - 124
918
+ - 125
919
+ - 126
920
+ - 127
921
+ - 128
922
+ - 129
923
+ - 130
924
+ - 131
925
+ - 132
926
+ - 133
927
+ - 134
928
+ - 135
929
+ - 136
930
+ - 137
931
+ - 138
932
+ - 139
933
+ - 140
934
+ - 141
935
+ - 142
936
+ - 143
937
+ - 144
938
+ - 145
939
+ - 157
940
+ - 158
941
+ - 159
942
+ - 160
943
+ - 161
944
+ - 162
945
+ - 166
946
+ - 167
947
+ - 168
948
+ - 169
949
+ - 170
950
+ - 171
951
+ - 172
952
+ - 173
953
+ - 174
954
+ - 175
955
+ - 176
956
+ - 177
957
+ - 178
958
+ - 179
959
+ - 180
960
+ - 181
961
+ - 182
962
+ - 183
963
+ - 184
964
+ - 185
965
+ - 190
966
+ - 191
967
+ - 192
968
+ - 193
969
+ - 194
970
+ - 195
971
+ - 196
972
+ - 197
973
+ - 198
974
+ - 199
975
+ - 200
976
+ - 201
977
+ - 202
978
+ - 203
979
+ - 204
980
+ - 205
981
+ - 206
982
+ - 207
983
+ - 208
984
+ - 209
985
+ - 210
986
+ - 211
987
+ - 212
988
+ - 213
989
+ - 214
990
+ - 215
991
+ - 216
992
+ - 217
993
+ - 218
994
+ - 219
995
+ - 220
996
+ - 221
997
+ - 222
998
+ - 223
999
+ - 224
1000
+ - 225
1001
+ - 226
1002
+ - 227
1003
+ - 228
1004
+ - 229
1005
+ - 230
1006
+ - 231
1007
+ - 232
1008
+ - 233
1009
+ - 234
1010
+ - 235
1011
+ - 236
1012
+ - 237
1013
+ - 238
1014
+ - 239
1015
+ - 240
1016
+ - 241
1017
+ - 242
1018
+ - 243
1019
+ - 244
1020
+ - 245
1021
+ - 247
1022
+ - 284
1023
+ - 285
1024
+ - 286
1025
+ - 287
1026
+ - 288
1027
+ - 289
1028
+ - 290
1029
+ - 291
1030
+ - 292
1031
+ - 293
1032
+ - 294
1033
+ - 295
1034
+ - 296
1035
+ - 297
1036
+ - 298
1037
+ - 299
1038
+ - 300
1039
+ - 301
1040
+ - 302
1041
+ - 303
1042
+ - 304
1043
+ - 305
1044
+ - 306
1045
+ - 307
1046
+ - 308
1047
+ - 309
1048
+ - 310
1049
+ - 311
1050
+ - 312
1051
+ - 313
1052
+ - 314
1053
+ - 315
1054
+ - 316
1055
+ - 317
1056
+ - 318
1057
+ - 319
1058
+ - 320
1059
+ - 321
1060
+ - 322
1061
+ - 323
1062
+ - 324
1063
+ - 325
1064
+ - 326
1065
+ - 327
1066
+ - 328
1067
+ - 329
1068
+ - 330
1069
+ - 331
1070
+ - 332
1071
+ - 333
1072
+ - 334
1073
+ - 335
1074
+ - 336
1075
+ - 337
1076
+ - 338
1077
+ - 339
1078
+ - 340
1079
+ - 341
1080
+ - 342
1081
+ - 343
1082
+ - 345
1083
+ - 346
1084
+ - 347
1085
+ - 348
1086
+ - 349
1087
+ - 351
1088
+ - 352
1089
+ - 353
1090
+ - 354
1091
+ - 355
1092
+ - 358
1093
+ - 359
1094
+ - 360
1095
+ - 361
1096
+ - 362
1097
+ - 366
1098
+ - 367
1099
+ - 368
1100
+ - 369
1101
+ - 370
1102
+ - 372
1103
+ - 373
1104
+ - 374
1105
+ - 375
1106
+ - 376
1107
+ - 377
1108
+ - 378
1109
+ - 379
1110
+ - 380
1111
+ - 381
1112
+ - 382
1113
+ - 383
1114
+ - 384
1115
+ - 385
1116
+ - 386
1117
+ - 387
1118
+ - 388
1119
+ - 389
1120
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1121
+ name: SEARCH
1122
+ data: *71
1123
+ raw_data: "* SEARCH 4 5 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
1124
+ 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
1125
+ 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
1126
+ 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
1127
+ 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
1128
+ 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
1129
+ 141 142 143 144 145 157 158 159 160 161 162 166 167 168 169 170 171 172 173
1130
+ 174 175 176 177 178 179 180 181 182 183 184 185 190 191 192 193 194 195 196
1131
+ 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
1132
+ 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
1133
+ 235 236 237 238 239 240 241 242 243 244 245 247 284 285 286 287 288 289 290
1134
+ 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
1135
+ 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328
1136
+ 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 345 346 347 348
1137
+ 349 351 352 353 354 355 358 359 360 361 362 366 367 368 369 370 372 373 374
1138
+ 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389\r\n"
1139
+ - !ruby/struct:Net::IMAP::TaggedResponse
1140
+ tag: RUBY0004
1141
+ name: OK
1142
+ data: *72
1143
+ raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
1144
+ UID STORE-88fe1d9d45d4c8dee83862d0e39b8c2e:
1145
+ - - :return
1146
+ - !ruby/struct:Net::IMAP::TaggedResponse
1147
+ tag: RUBY0006
1148
+ name: OK
1149
+ data: &83 !ruby/struct:Net::IMAP::ResponseText
1150
+ code:
1151
+ text: Success
1152
+ raw_data: "RUBY0006 OK Success\r\n"
1153
+ - FLAGS: *73
1154
+ OK: *74
1155
+ PERMANENTFLAGS: *75
1156
+ UIDVALIDITY: *76
1157
+ EXISTS: *77
1158
+ RECENT: *78
1159
+ UIDNEXT: *79
1160
+ HIGHESTMODSEQ: *80
1161
+ FETCH:
1162
+ - &81 !ruby/struct:Net::IMAP::FetchData
1163
+ seqno: 378
1164
+ attr:
1165
+ X-GM-LABELS:
1166
+ - :Important
1167
+ - :Inbox
1168
+ - :Sent
1169
+ - Awesome
1170
+ - Great
1171
+ UID: 389
1172
+ - &82 !ruby/struct:Net::IMAP::FetchData
1173
+ seqno: 378
1174
+ attr:
1175
+ UID: 389
1176
+ FLAGS: []
1177
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1178
+ name: FETCH
1179
+ data: *81
1180
+ raw_data: "* 378 FETCH (X-GM-LABELS (\"\\\\Important\" \"\\\\Inbox\" \"\\\\Sent\"
1181
+ Awesome Great) UID 389)\r\n"
1182
+ - !ruby/struct:Net::IMAP::UntaggedResponse
1183
+ name: FETCH
1184
+ data: *82
1185
+ raw_data: "* 378 FETCH (UID 389 FLAGS ())\r\n"
1186
+ - !ruby/struct:Net::IMAP::TaggedResponse
1187
+ tag: RUBY0006
1188
+ name: OK
1189
+ data: *83
1190
+ raw_data: "RUBY0006 OK Success\r\n"
1191
+ UID STORE-99cecaad3e6fb1ff479c3d2799f4f9d6:
1192
+ - - :return
1193
+ - !ruby/struct:Net::IMAP::TaggedResponse
1194
+ tag: RUBY0008
1195
+ name: OK
1196
+ data: &94 !ruby/struct:Net::IMAP::ResponseText
1197
+ code:
1198
+ text: Success
1199
+ raw_data: "RUBY0008 OK Success\r\n"
1200
+ - FLAGS: *84
1201
+ OK: *85
1202
+ PERMANENTFLAGS: *86
1203
+ UIDVALIDITY: *87
1204
+ EXISTS: *88
1205
+ RECENT: *89
1206
+ UIDNEXT: *90
1207
+ HIGHESTMODSEQ: *91
1208
+ FETCH:
1209
+ - &92 !ruby/struct:Net::IMAP::FetchData
1210
+ seqno: 378
1211
+ attr:
1212
+ X-GM-LABELS:
1213
+ - :Important
1214
+ - :Inbox
1215
+ - :Sent
1216
+ - Awesome
1217
+ UID: 389
1218
+ - &93 !ruby/struct:Net::IMAP::FetchData
1219
+ seqno: 378
1220
+ attr:
1221
+ UID: 389
1222
+ FLAGS: []
1223
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1224
+ name: FETCH
1225
+ data: *92
1226
+ raw_data: "* 378 FETCH (X-GM-LABELS (\"\\\\Important\" \"\\\\Inbox\" \"\\\\Sent\"
1227
+ Awesome) UID 389)\r\n"
1228
+ - !ruby/struct:Net::IMAP::UntaggedResponse
1229
+ name: FETCH
1230
+ data: *93
1231
+ raw_data: "* 378 FETCH (UID 389 FLAGS ())\r\n"
1232
+ - !ruby/struct:Net::IMAP::TaggedResponse
1233
+ tag: RUBY0008
1234
+ name: OK
1235
+ data: *94
1236
+ raw_data: "RUBY0008 OK Success\r\n"
1237
+ UID STORE-4548e69275486d9ac1ee7f7adaac573d:
1238
+ - - :return
1239
+ - !ruby/struct:Net::IMAP::TaggedResponse
1240
+ tag: RUBY0010
1241
+ name: OK
1242
+ data: &105 !ruby/struct:Net::IMAP::ResponseText
1243
+ code:
1244
+ text: Success
1245
+ raw_data: "RUBY0010 OK Success\r\n"
1246
+ - FLAGS: *95
1247
+ OK: *96
1248
+ PERMANENTFLAGS: *97
1249
+ UIDVALIDITY: *98
1250
+ EXISTS: *99
1251
+ RECENT: *100
1252
+ UIDNEXT: *101
1253
+ HIGHESTMODSEQ: *102
1254
+ FETCH:
1255
+ - &103 !ruby/struct:Net::IMAP::FetchData
1256
+ seqno: 378
1257
+ attr:
1258
+ X-GM-LABELS:
1259
+ - :Important
1260
+ - :Inbox
1261
+ - :Sent
1262
+ - Awesome
1263
+ - Great
1264
+ UID: 389
1265
+ - &104 !ruby/struct:Net::IMAP::FetchData
1266
+ seqno: 378
1267
+ attr:
1268
+ UID: 389
1269
+ FLAGS: []
1270
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1271
+ name: FETCH
1272
+ data: *103
1273
+ raw_data: "* 378 FETCH (X-GM-LABELS (\"\\\\Important\" \"\\\\Inbox\" \"\\\\Sent\"
1274
+ Awesome Great) UID 389)\r\n"
1275
+ - !ruby/struct:Net::IMAP::UntaggedResponse
1276
+ name: FETCH
1277
+ data: *104
1278
+ raw_data: "* 378 FETCH (UID 389 FLAGS ())\r\n"
1279
+ - !ruby/struct:Net::IMAP::TaggedResponse
1280
+ tag: RUBY0010
1281
+ name: OK
1282
+ data: *105
1283
+ raw_data: "RUBY0010 OK Success\r\n"
1284
+ UID STORE-95c20c767f21405c06f834587e39f252:
1285
+ - - :return
1286
+ - !ruby/struct:Net::IMAP::TaggedResponse
1287
+ tag: RUBY0012
1288
+ name: OK
1289
+ data: &116 !ruby/struct:Net::IMAP::ResponseText
1290
+ code:
1291
+ text: Success
1292
+ raw_data: "RUBY0012 OK Success\r\n"
1293
+ - FLAGS: *106
1294
+ OK: *107
1295
+ PERMANENTFLAGS: *108
1296
+ UIDVALIDITY: *109
1297
+ EXISTS: *110
1298
+ RECENT: *111
1299
+ UIDNEXT: *112
1300
+ HIGHESTMODSEQ: *113
1301
+ FETCH:
1302
+ - &114 !ruby/struct:Net::IMAP::FetchData
1303
+ seqno: 378
1304
+ attr:
1305
+ X-GM-LABELS:
1306
+ - :Important
1307
+ - :Inbox
1308
+ - :Sent
1309
+ - Great
1310
+ UID: 389
1311
+ - &115 !ruby/struct:Net::IMAP::FetchData
1312
+ seqno: 378
1313
+ attr:
1314
+ UID: 389
1315
+ FLAGS: []
1316
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1317
+ name: FETCH
1318
+ data: *114
1319
+ raw_data: "* 378 FETCH (X-GM-LABELS (\"\\\\Important\" \"\\\\Inbox\" \"\\\\Sent\"
1320
+ Great) UID 389)\r\n"
1321
+ - !ruby/struct:Net::IMAP::UntaggedResponse
1322
+ name: FETCH
1323
+ data: *115
1324
+ raw_data: "* 378 FETCH (UID 389 FLAGS ())\r\n"
1325
+ - !ruby/struct:Net::IMAP::TaggedResponse
1326
+ tag: RUBY0012
1327
+ name: OK
1328
+ data: *116
1329
+ raw_data: "RUBY0012 OK Success\r\n"
1330
+ UID FETCH-ca88bb8099c141a1a108f56df2e80d19:
1331
+ - - :return
1332
+ - !ruby/struct:Net::IMAP::TaggedResponse
1333
+ tag: RUBY0014
1334
+ name: OK
1335
+ data: &126 !ruby/struct:Net::IMAP::ResponseText
1336
+ code:
1337
+ text: Success
1338
+ raw_data: "RUBY0014 OK Success\r\n"
1339
+ - FLAGS: *117
1340
+ OK: *118
1341
+ PERMANENTFLAGS: *119
1342
+ UIDVALIDITY: *120
1343
+ EXISTS: *121
1344
+ RECENT: *122
1345
+ UIDNEXT: *123
1346
+ HIGHESTMODSEQ: *124
1347
+ FETCH:
1348
+ - &125 !ruby/struct:Net::IMAP::FetchData
1349
+ seqno: 378
1350
+ attr:
1351
+ X-GM-THRID: 1505981211390055669
1352
+ X-GM-MSGID: 1505981211390055669
1353
+ X-GM-LABELS:
1354
+ - :Important
1355
+ - :Inbox
1356
+ - :Sent
1357
+ - Great
1358
+ UID: 389
1359
+ FLAGS: []
1360
+ ENVELOPE: !ruby/struct:Net::IMAP::Envelope
1361
+ date: Mon, 06 Jul 2015 20:46:41 +0000
1362
+ subject: Hello world!
1363
+ from:
1364
+ - !ruby/struct:Net::IMAP::Address
1365
+ name:
1366
+ route:
1367
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
1368
+ host: gmail.com
1369
+ sender:
1370
+ - !ruby/struct:Net::IMAP::Address
1371
+ name:
1372
+ route:
1373
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
1374
+ host: gmail.com
1375
+ reply_to:
1376
+ - !ruby/struct:Net::IMAP::Address
1377
+ name:
1378
+ route:
1379
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
1380
+ host: gmail.com
1381
+ to:
1382
+ - !ruby/struct:Net::IMAP::Address
1383
+ name:
1384
+ route:
1385
+ mailbox: ki0zvkyi1yzgy7xu4f4dh46nqrcecm
1386
+ host: gmail.com
1387
+ cc:
1388
+ bcc:
1389
+ in_reply_to:
1390
+ message_id: "<559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>"
1391
+ BODY[]: "Return-Path: <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nReceived:
1392
+ from gmail.com (ec2-52-0-240-122.compute-1.amazonaws.com. [52.0.240.122])\r\n
1393
+ \ by mx.google.com with ESMTPSA id a72sm9998623qgf.17.2015.07.06.13.46.41\r\n
1394
+ \ for <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\n (version=TLSv1.1
1395
+ cipher=ECDHE-RSA-RC4-SHA bits=128/128);\r\n Mon, 06 Jul 2015 13:46:42
1396
+ -0700 (PDT)\r\nDate: Mon, 06 Jul 2015 20:46:41 +0000\r\nFrom: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nTo:
1397
+ ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID: <559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>\r\nSubject:
1398
+ Hello world!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding:
1399
+ 7bit\r\n\r\nYeah, hello there!\r\n"
1400
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1401
+ name: FETCH
1402
+ data: *125
1403
+ raw_data: "* 378 FETCH (X-GM-THRID 1505981211390055669 X-GM-MSGID 1505981211390055669
1404
+ X-GM-LABELS (\"\\\\Important\" \"\\\\Inbox\" \"\\\\Sent\" Great) UID 389 FLAGS
1405
+ () ENVELOPE (\"Mon, 06 Jul 2015 20:46:41 +0000\" \"Hello world!\" ((NIL NIL
1406
+ \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\" \"gmail.com\")) ((NIL NIL \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\"
1407
+ \"gmail.com\")) ((NIL NIL \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\" \"gmail.com\"))
1408
+ ((NIL NIL \"ki0zvkyi1yzgy7xu4f4dh46nqrcecm\" \"gmail.com\")) NIL NIL NIL \"<559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>\")
1409
+ BODY[] {764}\r\nReturn-Path: <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\nReceived:
1410
+ from gmail.com (ec2-52-0-240-122.compute-1.amazonaws.com. [52.0.240.122])\r\n
1411
+ \ by mx.google.com with ESMTPSA id a72sm9998623qgf.17.2015.07.06.13.46.41\r\n
1412
+ \ for <ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com>\r\n (version=TLSv1.1
1413
+ cipher=ECDHE-RSA-RC4-SHA bits=128/128);\r\n Mon, 06 Jul 2015 13:46:42
1414
+ -0700 (PDT)\r\nDate: Mon, 06 Jul 2015 20:46:41 +0000\r\nFrom: ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nTo:
1415
+ ki0zvkyi1yzgy7xu4f4dh46nqrcecm@gmail.com\r\nMessage-ID: <559ae931b0285_7c3b93e94963f0@testing-worker-linux-docker-b5c1735c-3193-linux-3.mail>\r\nSubject:
1416
+ Hello world!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding:
1417
+ 7bit\r\n\r\nYeah, hello there!\r\n)\r\n"
1418
+ - !ruby/struct:Net::IMAP::TaggedResponse
1419
+ tag: RUBY0014
1420
+ name: OK
1421
+ data: *126
1422
+ raw_data: "RUBY0014 OK Success\r\n"
1423
+ LOGOUT-e76a09b7766d60a37ff9e1af527a143e:
1424
+ - - :return
1425
+ - !ruby/struct:Net::IMAP::TaggedResponse
1426
+ tag: RUBY0015
1427
+ name: OK
1428
+ data: !ruby/struct:Net::IMAP::ResponseText
1429
+ code:
1430
+ text: 73 good day (Success)
1431
+ raw_data: "RUBY0015 OK 73 good day (Success)\r\n"
1432
+ - FLAGS: *117
1433
+ OK: *118
1434
+ PERMANENTFLAGS: *119
1435
+ UIDVALIDITY: *120
1436
+ EXISTS: *121
1437
+ RECENT: *122
1438
+ UIDNEXT: *123
1439
+ HIGHESTMODSEQ: *124
1440
+ BYE:
1441
+ - &127 !ruby/struct:Net::IMAP::ResponseText
1442
+ code:
1443
+ text: LOGOUT Requested
1444
+ - - !ruby/struct:Net::IMAP::UntaggedResponse
1445
+ name: BYE
1446
+ data: *127
1447
+ raw_data: "* BYE LOGOUT Requested\r\n"