gmail 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +27 -27
  3. data/.rspec +1 -1
  4. data/.rubocop.yml +13 -13
  5. data/.rubocop_todo.yml +239 -239
  6. data/.travis.yml +19 -19
  7. data/CHANGELOG.md +145 -139
  8. data/Gemfile +3 -3
  9. data/LICENSE +21 -21
  10. data/README.md +355 -354
  11. data/Rakefile +46 -46
  12. data/gmail.gemspec +34 -34
  13. data/lib/gmail.rb +78 -78
  14. data/lib/gmail/client.rb +34 -34
  15. data/lib/gmail/client/base.rb +229 -229
  16. data/lib/gmail/client/plain.rb +24 -24
  17. data/lib/gmail/client/xoauth.rb +68 -68
  18. data/lib/gmail/client/xoauth2.rb +39 -39
  19. data/lib/gmail/imap_extensions.rb +159 -150
  20. data/lib/gmail/labels.rb +79 -79
  21. data/lib/gmail/mailbox.rb +175 -135
  22. data/lib/gmail/message.rb +207 -207
  23. data/lib/gmail/version.rb +3 -3
  24. data/spec/account.yml.example +1 -1
  25. data/spec/account.yml.obfus +2 -2
  26. data/spec/gmail/client/base_spec.rb +5 -5
  27. data/spec/gmail/client/plain_spec.rb +169 -168
  28. data/spec/gmail/client/xoauth2_spec.rb +186 -186
  29. data/spec/gmail/client/xoauth_spec.rb +5 -5
  30. data/spec/gmail/client_spec.rb +5 -5
  31. data/spec/gmail/imap_extensions_spec.rb +47 -12
  32. data/spec/gmail/labels_spec.rb +27 -18
  33. data/spec/gmail/mailbox_spec.rb +84 -47
  34. data/spec/gmail/message_spec.rb +181 -181
  35. data/spec/gmail_spec.rb +39 -39
  36. data/spec/recordings/gmail/_new_connects_with_client_and_give_it_context_when_block_given.yml +28 -28
  37. data/spec/recordings/gmail/_new_connects_with_gmail_service_and_return_valid_connection_object.yml +28 -28
  38. data/spec/recordings/gmail/_new_does_not_raise_error_when_couldn_t_connect_with_given_account.yml +13 -13
  39. data/spec/recordings/gmail/_new_raises_error_when_couldn_t_connect_with_given_account.yml +13 -13
  40. data/spec/recordings/gmail_client_plain/instance/_connection_automatically_logs_in_to_gmail_account_when_it_s_called.yml +42 -42
  41. data/spec/recordings/gmail_client_plain/instance/delivers_inline_composed_email.yml +42 -42
  42. data/spec/recordings/gmail_client_plain/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +13 -13
  43. data/spec/recordings/gmail_client_plain/instance/does_not_raise_error_even_though_gmail_account_is_invalid.yml +13 -13
  44. data/spec/recordings/gmail_client_plain/instance/labels/checks_if_there_is_given_label_defined.yml +196 -196
  45. data/spec/recordings/gmail_client_plain/instance/labels/creates_given_label.yml +151 -151
  46. data/spec/recordings/gmail_client_plain/instance/labels/removes_existing_label.yml +146 -146
  47. data/spec/recordings/gmail_client_plain/instance/labels/returns_list_of_all_available_labels.yml +113 -113
  48. data/spec/recordings/gmail_client_plain/instance/properly_logs_in_to_valid_gmail_account.yml +42 -42
  49. data/spec/recordings/gmail_client_plain/instance/properly_logs_out_from_gmail.yml +42 -42
  50. data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox.yml +109 -109
  51. data/spec/recordings/gmail_client_plain/instance/properly_switches_to_given_mailbox_using_block_style.yml +109 -109
  52. data/spec/recordings/gmail_client_plain/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +13 -13
  53. data/spec/recordings/gmail_client_xo_auth2/instance/does_not_log_in_when_given_gmail_account_is_invalid.yml +13 -13
  54. data/spec/recordings/gmail_client_xo_auth2/instance/labels/checks_if_there_is_given_label_defined.yml +27 -27
  55. data/spec/recordings/gmail_client_xo_auth2/instance/labels/creates_given_label.yml +39 -39
  56. data/spec/recordings/gmail_client_xo_auth2/instance/labels/removes_existing_label.yml +39 -39
  57. data/spec/recordings/gmail_client_xo_auth2/instance/labels/returns_list_of_all_available_labels.yml +27 -27
  58. data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_in_to_valid_gmail_account.yml +15 -15
  59. data/spec/recordings/gmail_client_xo_auth2/instance/properly_logs_out_from_gmail.yml +15 -15
  60. data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox.yml +40 -40
  61. data/spec/recordings/gmail_client_xo_auth2/instance/properly_switches_to_given_mailbox_using_block_style.yml +40 -40
  62. data/spec/recordings/gmail_client_xo_auth2/instance/raises_error_when_given_gmail_account_is_invalid_and_errors_enabled.yml +13 -13
  63. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/all/localizes_into_the_appropriate_label.yml +116 -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 +110 -0
  65. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/drafts/localizes_into_the_appropriate_label.yml +116 -116
  66. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/flagged/localizes_into_the_appropriate_label.yml +116 -116
  67. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/important/localizes_into_the_appropriate_label.yml +116 -116
  68. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/inbox/localizes_into_the_appropriate_label.yml +42 -42
  69. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/junk/localizes_into_the_appropriate_label.yml +116 -116
  70. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/sent/localizes_into_the_appropriate_label.yml +116 -116
  71. data/spec/recordings/gmail_labels/localize/when_given_the_xl_is_tflag/trash/localizes_into_the_appropriate_label.yml +116 -116
  72. data/spec/recordings/gmail_mailbox/instance/counts_all_emails.yml +277 -277
  73. data/spec/recordings/gmail_mailbox/instance/finds_messages.yml +586 -586
  74. data/spec/recordings/gmail_mailbox/instance/waits_once.yml +136 -0
  75. data/spec/recordings/gmail_mailbox/instance/waits_repeatedly.yml +141 -0
  76. data/spec/recordings/gmail_mailbox/instance/waits_with_29-minute_re-issue.yml +136 -0
  77. data/spec/recordings/gmail_mailbox/instance/waits_with_an_unblocked_connection.yml +207 -0
  78. data/spec/recordings/gmail_mailbox/on_initialize/sets_client_and_name.yml +42 -42
  79. data/spec/recordings/gmail_mailbox/on_initialize/works_in_inbox_by_default.yml +42 -42
  80. data/spec/recordings/gmail_message/initialize/sets_prefetch_attrs.yml +578 -578
  81. data/spec/recordings/gmail_message/initialize/sets_uid_and_mailbox.yml +580 -580
  82. data/spec/recordings/gmail_message/instance_methods/deletes_itself.yml +637 -637
  83. data/spec/recordings/gmail_message/instance_methods/marks_itself_read.yml +682 -682
  84. data/spec/recordings/gmail_message/instance_methods/marks_itself_unread.yml +686 -686
  85. data/spec/recordings/gmail_message/instance_methods/moves_from_one_tag_to_other.yml +862 -862
  86. data/spec/recordings/gmail_message/instance_methods/removes_a_given_label.yml +776 -776
  87. data/spec/recordings/gmail_message/instance_methods/removes_a_given_label_with_old_method.yml +776 -776
  88. data/spec/recordings/gmail_message/instance_methods/sets_given_label.yml +690 -690
  89. data/spec/recordings/gmail_message/instance_methods/sets_given_label_with_old_method.yml +691 -691
  90. data/spec/spec_helper.rb +53 -53
  91. data/spec/support/imap_mock.rb +181 -129
  92. data/spec/support/obfuscation.rb +52 -52
  93. metadata +78 -5
@@ -1,637 +1,637 @@
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-6e4aa0e4422393e73c74d4645fd3834e:
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]/Trash selected. (Success)"
133
- raw_data: "RUBY0003 OK [READ-WRITE] [Gmail]/Trash selected. (Success)\r\n"
134
- - FLAGS: &4
135
- - - :Answered
136
- - :Flagged
137
- - :Draft
138
- - :Deleted
139
- - :Seen
140
- - "$Phishing"
141
- - "$NotPhishing"
142
- OK: &5
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: 2
160
- text: " UIDs valid."
161
- - !ruby/struct:Net::IMAP::ResponseText
162
- code: !ruby/struct:Net::IMAP::ResponseCode
163
- name: UIDNEXT
164
- data: 7
165
- text: " Predicted next UID."
166
- - !ruby/struct:Net::IMAP::ResponseText
167
- code: !ruby/struct:Net::IMAP::ResponseCode
168
- name: HIGHESTMODSEQ
169
- data: '14840'
170
- text: ''
171
- PERMANENTFLAGS: &6
172
- - *2
173
- UIDVALIDITY: &7
174
- - 2
175
- EXISTS: &8
176
- - 4
177
- RECENT: &9
178
- - 0
179
- UIDNEXT: &10
180
- - 7
181
- HIGHESTMODSEQ: &11
182
- - '14840'
183
- - - :return
184
- - !ruby/struct:Net::IMAP::TaggedResponse
185
- tag: RUBY0009
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]/Trash selected. (Success)"
192
- raw_data: "RUBY0009 OK [READ-WRITE] [Gmail]/Trash selected. (Success)\r\n"
193
- - FLAGS: &12
194
- - - :Answered
195
- - :Flagged
196
- - :Draft
197
- - :Deleted
198
- - :Seen
199
- - "$Phishing"
200
- - "$NotPhishing"
201
- OK: &13
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: 2
219
- text: " UIDs valid."
220
- - !ruby/struct:Net::IMAP::ResponseText
221
- code: !ruby/struct:Net::IMAP::ResponseCode
222
- name: UIDNEXT
223
- data: 8
224
- text: " Predicted next UID."
225
- - !ruby/struct:Net::IMAP::ResponseText
226
- code: !ruby/struct:Net::IMAP::ResponseCode
227
- name: HIGHESTMODSEQ
228
- data: '14878'
229
- text: ''
230
- PERMANENTFLAGS: &14
231
- - *3
232
- UIDVALIDITY: &15
233
- - 2
234
- EXISTS: &16
235
- - 5
236
- RECENT: &17
237
- - 0
238
- UIDNEXT: &18
239
- - 8
240
- HIGHESTMODSEQ: &19
241
- - '14878'
242
- UID SEARCH-b19658413e2b63d2bac9c290a67c2cb3:
243
- - - :return
244
- - !ruby/struct:Net::IMAP::TaggedResponse
245
- tag: RUBY0004
246
- name: OK
247
- data: !ruby/struct:Net::IMAP::ResponseText
248
- code:
249
- text: SEARCH completed (Success)
250
- raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
251
- - FLAGS: *4
252
- OK: *5
253
- PERMANENTFLAGS: *6
254
- UIDVALIDITY: *7
255
- EXISTS: *8
256
- RECENT: *9
257
- UIDNEXT: *10
258
- HIGHESTMODSEQ: *11
259
- SEARCH:
260
- - - 3
261
- - 4
262
- - 5
263
- - 6
264
- - - :return
265
- - !ruby/struct:Net::IMAP::TaggedResponse
266
- tag: RUBY0010
267
- name: OK
268
- data: !ruby/struct:Net::IMAP::ResponseText
269
- code:
270
- text: SEARCH completed (Success)
271
- raw_data: "RUBY0010 OK SEARCH completed (Success)\r\n"
272
- - FLAGS: *12
273
- OK: *13
274
- PERMANENTFLAGS: *14
275
- UIDVALIDITY: *15
276
- EXISTS: *16
277
- RECENT: *17
278
- UIDNEXT: *18
279
- HIGHESTMODSEQ: *19
280
- SEARCH:
281
- - - 3
282
- - 4
283
- - 5
284
- - 6
285
- - 7
286
- SELECT-868fce8856c91e50bebd43b4dbd8e071:
287
- - - :return
288
- - !ruby/struct:Net::IMAP::TaggedResponse
289
- tag: RUBY0005
290
- name: OK
291
- data: !ruby/struct:Net::IMAP::ResponseText
292
- code: !ruby/struct:Net::IMAP::ResponseCode
293
- name: READ-WRITE
294
- data:
295
- text: " [Gmail]/All Mail selected. (Success)"
296
- raw_data: "RUBY0005 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
297
- - FLAGS: &22
298
- - - :Answered
299
- - :Flagged
300
- - :Draft
301
- - :Deleted
302
- - :Seen
303
- - "$Phishing"
304
- - "$NotPhishing"
305
- OK: &23
306
- - !ruby/struct:Net::IMAP::ResponseText
307
- code: !ruby/struct:Net::IMAP::ResponseCode
308
- name: PERMANENTFLAGS
309
- data: &20
310
- - :Answered
311
- - :Flagged
312
- - :Draft
313
- - :Deleted
314
- - :Seen
315
- - "$Phishing"
316
- - "$NotPhishing"
317
- - :*
318
- text: " Flags permitted."
319
- - !ruby/struct:Net::IMAP::ResponseText
320
- code: !ruby/struct:Net::IMAP::ResponseCode
321
- name: UIDVALIDITY
322
- data: 11
323
- text: " UIDs valid."
324
- - !ruby/struct:Net::IMAP::ResponseText
325
- code: !ruby/struct:Net::IMAP::ResponseCode
326
- name: UIDNEXT
327
- data: 190
328
- text: " Predicted next UID."
329
- - !ruby/struct:Net::IMAP::ResponseText
330
- code: !ruby/struct:Net::IMAP::ResponseCode
331
- name: HIGHESTMODSEQ
332
- data: '14840'
333
- text: ''
334
- PERMANENTFLAGS: &24
335
- - *20
336
- UIDVALIDITY: &25
337
- - 11
338
- EXISTS: &26
339
- - 181
340
- RECENT: &27
341
- - 0
342
- UIDNEXT: &28
343
- - 190
344
- HIGHESTMODSEQ: &29
345
- - '14840'
346
- - - :return
347
- - !ruby/struct:Net::IMAP::TaggedResponse
348
- tag: RUBY0007
349
- name: OK
350
- data: !ruby/struct:Net::IMAP::ResponseText
351
- code: !ruby/struct:Net::IMAP::ResponseCode
352
- name: READ-WRITE
353
- data:
354
- text: " [Gmail]/All Mail selected. (Success)"
355
- raw_data: "RUBY0007 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
356
- - FLAGS: &30
357
- - - :Answered
358
- - :Flagged
359
- - :Draft
360
- - :Deleted
361
- - :Seen
362
- - "$Phishing"
363
- - "$NotPhishing"
364
- OK: &31
365
- - !ruby/struct:Net::IMAP::ResponseText
366
- code: !ruby/struct:Net::IMAP::ResponseCode
367
- name: PERMANENTFLAGS
368
- data: &21
369
- - :Answered
370
- - :Flagged
371
- - :Draft
372
- - :Deleted
373
- - :Seen
374
- - "$Phishing"
375
- - "$NotPhishing"
376
- - :*
377
- text: " Flags permitted."
378
- - !ruby/struct:Net::IMAP::ResponseText
379
- code: !ruby/struct:Net::IMAP::ResponseCode
380
- name: UIDVALIDITY
381
- data: 11
382
- text: " UIDs valid."
383
- - !ruby/struct:Net::IMAP::ResponseText
384
- code: !ruby/struct:Net::IMAP::ResponseCode
385
- name: UIDNEXT
386
- data: 190
387
- text: " Predicted next UID."
388
- - !ruby/struct:Net::IMAP::ResponseText
389
- code: !ruby/struct:Net::IMAP::ResponseCode
390
- name: HIGHESTMODSEQ
391
- data: '14840'
392
- text: ''
393
- PERMANENTFLAGS: &32
394
- - *21
395
- UIDVALIDITY: &33
396
- - 11
397
- EXISTS: &34
398
- - 181
399
- - 180
400
- RECENT: &35
401
- - 0
402
- UIDNEXT: &36
403
- - 190
404
- HIGHESTMODSEQ: &37
405
- - '14840'
406
- UID SEARCH-0010f3078427015fc193bf14c1871582:
407
- - - :return
408
- - !ruby/struct:Net::IMAP::TaggedResponse
409
- tag: RUBY0006
410
- name: OK
411
- data: !ruby/struct:Net::IMAP::ResponseText
412
- code:
413
- text: SEARCH completed (Success)
414
- raw_data: "RUBY0006 OK SEARCH completed (Success)\r\n"
415
- - FLAGS: *22
416
- OK: *23
417
- PERMANENTFLAGS: *24
418
- UIDVALIDITY: *25
419
- EXISTS: *26
420
- RECENT: *27
421
- UIDNEXT: *28
422
- HIGHESTMODSEQ: *29
423
- SEARCH:
424
- - - 4
425
- - 5
426
- - 11
427
- - 12
428
- - 13
429
- - 14
430
- - 15
431
- - 16
432
- - 17
433
- - 18
434
- - 19
435
- - 20
436
- - 21
437
- - 22
438
- - 23
439
- - 24
440
- - 25
441
- - 26
442
- - 27
443
- - 28
444
- - 29
445
- - 30
446
- - 31
447
- - 32
448
- - 33
449
- - 34
450
- - 35
451
- - 36
452
- - 37
453
- - 38
454
- - 39
455
- - 40
456
- - 41
457
- - 42
458
- - 43
459
- - 44
460
- - 45
461
- - 46
462
- - 47
463
- - 48
464
- - 49
465
- - 50
466
- - 51
467
- - 52
468
- - 53
469
- - 54
470
- - 55
471
- - 56
472
- - 57
473
- - 58
474
- - 59
475
- - 60
476
- - 61
477
- - 62
478
- - 63
479
- - 64
480
- - 65
481
- - 66
482
- - 67
483
- - 68
484
- - 69
485
- - 70
486
- - 71
487
- - 72
488
- - 73
489
- - 74
490
- - 75
491
- - 76
492
- - 77
493
- - 78
494
- - 79
495
- - 80
496
- - 81
497
- - 82
498
- - 83
499
- - 84
500
- - 85
501
- - 86
502
- - 87
503
- - 88
504
- - 89
505
- - 90
506
- - 91
507
- - 92
508
- - 93
509
- - 94
510
- - 95
511
- - 96
512
- - 97
513
- - 98
514
- - 99
515
- - 100
516
- - 101
517
- - 102
518
- - 103
519
- - 104
520
- - 105
521
- - 106
522
- - 107
523
- - 108
524
- - 109
525
- - 110
526
- - 111
527
- - 112
528
- - 113
529
- - 114
530
- - 115
531
- - 116
532
- - 117
533
- - 118
534
- - 119
535
- - 120
536
- - 121
537
- - 122
538
- - 123
539
- - 124
540
- - 125
541
- - 126
542
- - 127
543
- - 128
544
- - 129
545
- - 130
546
- - 131
547
- - 132
548
- - 133
549
- - 134
550
- - 135
551
- - 136
552
- - 137
553
- - 138
554
- - 139
555
- - 140
556
- - 141
557
- - 142
558
- - 143
559
- - 144
560
- - 145
561
- - 157
562
- - 158
563
- - 159
564
- - 160
565
- - 161
566
- - 162
567
- - 166
568
- - 167
569
- - 168
570
- - 169
571
- - 170
572
- - 171
573
- - 172
574
- - 173
575
- - 174
576
- - 175
577
- - 176
578
- - 177
579
- - 178
580
- - 179
581
- - 180
582
- - 181
583
- - 182
584
- - 183
585
- - 184
586
- - 185
587
- - 188
588
- UID STORE-5f00644f03823fab3d1e9602aa792384:
589
- - - :return
590
- - !ruby/struct:Net::IMAP::TaggedResponse
591
- tag: RUBY0008
592
- name: OK
593
- data: !ruby/struct:Net::IMAP::ResponseText
594
- code:
595
- text: Success
596
- raw_data: "RUBY0008 OK Success\r\n"
597
- - FLAGS: *30
598
- OK: *31
599
- PERMANENTFLAGS: *32
600
- UIDVALIDITY: *33
601
- EXISTS: *34
602
- RECENT: *35
603
- UIDNEXT: *36
604
- HIGHESTMODSEQ: *37
605
- FETCH:
606
- - !ruby/struct:Net::IMAP::FetchData
607
- seqno: 180
608
- attr:
609
- X-GM-LABELS:
610
- - "\\Important"
611
- - "\\Inbox"
612
- - "\\Sent"
613
- - "\\Trash"
614
- UID: 188
615
- EXPUNGE:
616
- - 180
617
- LOGOUT-e76a09b7766d60a37ff9e1af527a143e:
618
- - - :return
619
- - !ruby/struct:Net::IMAP::TaggedResponse
620
- tag: RUBY0011
621
- name: OK
622
- data: !ruby/struct:Net::IMAP::ResponseText
623
- code:
624
- text: 73 good day (Success)
625
- raw_data: "RUBY0011 OK 73 good day (Success)\r\n"
626
- - FLAGS: *12
627
- OK: *13
628
- PERMANENTFLAGS: *14
629
- UIDVALIDITY: *15
630
- EXISTS: *16
631
- RECENT: *17
632
- UIDNEXT: *18
633
- HIGHESTMODSEQ: *19
634
- BYE:
635
- - !ruby/struct:Net::IMAP::ResponseText
636
- code:
637
- text: LOGOUT Requested
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-6e4aa0e4422393e73c74d4645fd3834e:
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]/Trash selected. (Success)"
133
+ raw_data: "RUBY0003 OK [READ-WRITE] [Gmail]/Trash selected. (Success)\r\n"
134
+ - FLAGS: &4
135
+ - - :Answered
136
+ - :Flagged
137
+ - :Draft
138
+ - :Deleted
139
+ - :Seen
140
+ - "$Phishing"
141
+ - "$NotPhishing"
142
+ OK: &5
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: 2
160
+ text: " UIDs valid."
161
+ - !ruby/struct:Net::IMAP::ResponseText
162
+ code: !ruby/struct:Net::IMAP::ResponseCode
163
+ name: UIDNEXT
164
+ data: 7
165
+ text: " Predicted next UID."
166
+ - !ruby/struct:Net::IMAP::ResponseText
167
+ code: !ruby/struct:Net::IMAP::ResponseCode
168
+ name: HIGHESTMODSEQ
169
+ data: '14840'
170
+ text: ''
171
+ PERMANENTFLAGS: &6
172
+ - *2
173
+ UIDVALIDITY: &7
174
+ - 2
175
+ EXISTS: &8
176
+ - 4
177
+ RECENT: &9
178
+ - 0
179
+ UIDNEXT: &10
180
+ - 7
181
+ HIGHESTMODSEQ: &11
182
+ - '14840'
183
+ - - :return
184
+ - !ruby/struct:Net::IMAP::TaggedResponse
185
+ tag: RUBY0009
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]/Trash selected. (Success)"
192
+ raw_data: "RUBY0009 OK [READ-WRITE] [Gmail]/Trash selected. (Success)\r\n"
193
+ - FLAGS: &12
194
+ - - :Answered
195
+ - :Flagged
196
+ - :Draft
197
+ - :Deleted
198
+ - :Seen
199
+ - "$Phishing"
200
+ - "$NotPhishing"
201
+ OK: &13
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: 2
219
+ text: " UIDs valid."
220
+ - !ruby/struct:Net::IMAP::ResponseText
221
+ code: !ruby/struct:Net::IMAP::ResponseCode
222
+ name: UIDNEXT
223
+ data: 8
224
+ text: " Predicted next UID."
225
+ - !ruby/struct:Net::IMAP::ResponseText
226
+ code: !ruby/struct:Net::IMAP::ResponseCode
227
+ name: HIGHESTMODSEQ
228
+ data: '14878'
229
+ text: ''
230
+ PERMANENTFLAGS: &14
231
+ - *3
232
+ UIDVALIDITY: &15
233
+ - 2
234
+ EXISTS: &16
235
+ - 5
236
+ RECENT: &17
237
+ - 0
238
+ UIDNEXT: &18
239
+ - 8
240
+ HIGHESTMODSEQ: &19
241
+ - '14878'
242
+ UID SEARCH-b19658413e2b63d2bac9c290a67c2cb3:
243
+ - - :return
244
+ - !ruby/struct:Net::IMAP::TaggedResponse
245
+ tag: RUBY0004
246
+ name: OK
247
+ data: !ruby/struct:Net::IMAP::ResponseText
248
+ code:
249
+ text: SEARCH completed (Success)
250
+ raw_data: "RUBY0004 OK SEARCH completed (Success)\r\n"
251
+ - FLAGS: *4
252
+ OK: *5
253
+ PERMANENTFLAGS: *6
254
+ UIDVALIDITY: *7
255
+ EXISTS: *8
256
+ RECENT: *9
257
+ UIDNEXT: *10
258
+ HIGHESTMODSEQ: *11
259
+ SEARCH:
260
+ - - 3
261
+ - 4
262
+ - 5
263
+ - 6
264
+ - - :return
265
+ - !ruby/struct:Net::IMAP::TaggedResponse
266
+ tag: RUBY0010
267
+ name: OK
268
+ data: !ruby/struct:Net::IMAP::ResponseText
269
+ code:
270
+ text: SEARCH completed (Success)
271
+ raw_data: "RUBY0010 OK SEARCH completed (Success)\r\n"
272
+ - FLAGS: *12
273
+ OK: *13
274
+ PERMANENTFLAGS: *14
275
+ UIDVALIDITY: *15
276
+ EXISTS: *16
277
+ RECENT: *17
278
+ UIDNEXT: *18
279
+ HIGHESTMODSEQ: *19
280
+ SEARCH:
281
+ - - 3
282
+ - 4
283
+ - 5
284
+ - 6
285
+ - 7
286
+ SELECT-868fce8856c91e50bebd43b4dbd8e071:
287
+ - - :return
288
+ - !ruby/struct:Net::IMAP::TaggedResponse
289
+ tag: RUBY0005
290
+ name: OK
291
+ data: !ruby/struct:Net::IMAP::ResponseText
292
+ code: !ruby/struct:Net::IMAP::ResponseCode
293
+ name: READ-WRITE
294
+ data:
295
+ text: " [Gmail]/All Mail selected. (Success)"
296
+ raw_data: "RUBY0005 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
297
+ - FLAGS: &22
298
+ - - :Answered
299
+ - :Flagged
300
+ - :Draft
301
+ - :Deleted
302
+ - :Seen
303
+ - "$Phishing"
304
+ - "$NotPhishing"
305
+ OK: &23
306
+ - !ruby/struct:Net::IMAP::ResponseText
307
+ code: !ruby/struct:Net::IMAP::ResponseCode
308
+ name: PERMANENTFLAGS
309
+ data: &20
310
+ - :Answered
311
+ - :Flagged
312
+ - :Draft
313
+ - :Deleted
314
+ - :Seen
315
+ - "$Phishing"
316
+ - "$NotPhishing"
317
+ - :*
318
+ text: " Flags permitted."
319
+ - !ruby/struct:Net::IMAP::ResponseText
320
+ code: !ruby/struct:Net::IMAP::ResponseCode
321
+ name: UIDVALIDITY
322
+ data: 11
323
+ text: " UIDs valid."
324
+ - !ruby/struct:Net::IMAP::ResponseText
325
+ code: !ruby/struct:Net::IMAP::ResponseCode
326
+ name: UIDNEXT
327
+ data: 190
328
+ text: " Predicted next UID."
329
+ - !ruby/struct:Net::IMAP::ResponseText
330
+ code: !ruby/struct:Net::IMAP::ResponseCode
331
+ name: HIGHESTMODSEQ
332
+ data: '14840'
333
+ text: ''
334
+ PERMANENTFLAGS: &24
335
+ - *20
336
+ UIDVALIDITY: &25
337
+ - 11
338
+ EXISTS: &26
339
+ - 181
340
+ RECENT: &27
341
+ - 0
342
+ UIDNEXT: &28
343
+ - 190
344
+ HIGHESTMODSEQ: &29
345
+ - '14840'
346
+ - - :return
347
+ - !ruby/struct:Net::IMAP::TaggedResponse
348
+ tag: RUBY0007
349
+ name: OK
350
+ data: !ruby/struct:Net::IMAP::ResponseText
351
+ code: !ruby/struct:Net::IMAP::ResponseCode
352
+ name: READ-WRITE
353
+ data:
354
+ text: " [Gmail]/All Mail selected. (Success)"
355
+ raw_data: "RUBY0007 OK [READ-WRITE] [Gmail]/All Mail selected. (Success)\r\n"
356
+ - FLAGS: &30
357
+ - - :Answered
358
+ - :Flagged
359
+ - :Draft
360
+ - :Deleted
361
+ - :Seen
362
+ - "$Phishing"
363
+ - "$NotPhishing"
364
+ OK: &31
365
+ - !ruby/struct:Net::IMAP::ResponseText
366
+ code: !ruby/struct:Net::IMAP::ResponseCode
367
+ name: PERMANENTFLAGS
368
+ data: &21
369
+ - :Answered
370
+ - :Flagged
371
+ - :Draft
372
+ - :Deleted
373
+ - :Seen
374
+ - "$Phishing"
375
+ - "$NotPhishing"
376
+ - :*
377
+ text: " Flags permitted."
378
+ - !ruby/struct:Net::IMAP::ResponseText
379
+ code: !ruby/struct:Net::IMAP::ResponseCode
380
+ name: UIDVALIDITY
381
+ data: 11
382
+ text: " UIDs valid."
383
+ - !ruby/struct:Net::IMAP::ResponseText
384
+ code: !ruby/struct:Net::IMAP::ResponseCode
385
+ name: UIDNEXT
386
+ data: 190
387
+ text: " Predicted next UID."
388
+ - !ruby/struct:Net::IMAP::ResponseText
389
+ code: !ruby/struct:Net::IMAP::ResponseCode
390
+ name: HIGHESTMODSEQ
391
+ data: '14840'
392
+ text: ''
393
+ PERMANENTFLAGS: &32
394
+ - *21
395
+ UIDVALIDITY: &33
396
+ - 11
397
+ EXISTS: &34
398
+ - 181
399
+ - 180
400
+ RECENT: &35
401
+ - 0
402
+ UIDNEXT: &36
403
+ - 190
404
+ HIGHESTMODSEQ: &37
405
+ - '14840'
406
+ UID SEARCH-0010f3078427015fc193bf14c1871582:
407
+ - - :return
408
+ - !ruby/struct:Net::IMAP::TaggedResponse
409
+ tag: RUBY0006
410
+ name: OK
411
+ data: !ruby/struct:Net::IMAP::ResponseText
412
+ code:
413
+ text: SEARCH completed (Success)
414
+ raw_data: "RUBY0006 OK SEARCH completed (Success)\r\n"
415
+ - FLAGS: *22
416
+ OK: *23
417
+ PERMANENTFLAGS: *24
418
+ UIDVALIDITY: *25
419
+ EXISTS: *26
420
+ RECENT: *27
421
+ UIDNEXT: *28
422
+ HIGHESTMODSEQ: *29
423
+ SEARCH:
424
+ - - 4
425
+ - 5
426
+ - 11
427
+ - 12
428
+ - 13
429
+ - 14
430
+ - 15
431
+ - 16
432
+ - 17
433
+ - 18
434
+ - 19
435
+ - 20
436
+ - 21
437
+ - 22
438
+ - 23
439
+ - 24
440
+ - 25
441
+ - 26
442
+ - 27
443
+ - 28
444
+ - 29
445
+ - 30
446
+ - 31
447
+ - 32
448
+ - 33
449
+ - 34
450
+ - 35
451
+ - 36
452
+ - 37
453
+ - 38
454
+ - 39
455
+ - 40
456
+ - 41
457
+ - 42
458
+ - 43
459
+ - 44
460
+ - 45
461
+ - 46
462
+ - 47
463
+ - 48
464
+ - 49
465
+ - 50
466
+ - 51
467
+ - 52
468
+ - 53
469
+ - 54
470
+ - 55
471
+ - 56
472
+ - 57
473
+ - 58
474
+ - 59
475
+ - 60
476
+ - 61
477
+ - 62
478
+ - 63
479
+ - 64
480
+ - 65
481
+ - 66
482
+ - 67
483
+ - 68
484
+ - 69
485
+ - 70
486
+ - 71
487
+ - 72
488
+ - 73
489
+ - 74
490
+ - 75
491
+ - 76
492
+ - 77
493
+ - 78
494
+ - 79
495
+ - 80
496
+ - 81
497
+ - 82
498
+ - 83
499
+ - 84
500
+ - 85
501
+ - 86
502
+ - 87
503
+ - 88
504
+ - 89
505
+ - 90
506
+ - 91
507
+ - 92
508
+ - 93
509
+ - 94
510
+ - 95
511
+ - 96
512
+ - 97
513
+ - 98
514
+ - 99
515
+ - 100
516
+ - 101
517
+ - 102
518
+ - 103
519
+ - 104
520
+ - 105
521
+ - 106
522
+ - 107
523
+ - 108
524
+ - 109
525
+ - 110
526
+ - 111
527
+ - 112
528
+ - 113
529
+ - 114
530
+ - 115
531
+ - 116
532
+ - 117
533
+ - 118
534
+ - 119
535
+ - 120
536
+ - 121
537
+ - 122
538
+ - 123
539
+ - 124
540
+ - 125
541
+ - 126
542
+ - 127
543
+ - 128
544
+ - 129
545
+ - 130
546
+ - 131
547
+ - 132
548
+ - 133
549
+ - 134
550
+ - 135
551
+ - 136
552
+ - 137
553
+ - 138
554
+ - 139
555
+ - 140
556
+ - 141
557
+ - 142
558
+ - 143
559
+ - 144
560
+ - 145
561
+ - 157
562
+ - 158
563
+ - 159
564
+ - 160
565
+ - 161
566
+ - 162
567
+ - 166
568
+ - 167
569
+ - 168
570
+ - 169
571
+ - 170
572
+ - 171
573
+ - 172
574
+ - 173
575
+ - 174
576
+ - 175
577
+ - 176
578
+ - 177
579
+ - 178
580
+ - 179
581
+ - 180
582
+ - 181
583
+ - 182
584
+ - 183
585
+ - 184
586
+ - 185
587
+ - 188
588
+ UID STORE-5f00644f03823fab3d1e9602aa792384:
589
+ - - :return
590
+ - !ruby/struct:Net::IMAP::TaggedResponse
591
+ tag: RUBY0008
592
+ name: OK
593
+ data: !ruby/struct:Net::IMAP::ResponseText
594
+ code:
595
+ text: Success
596
+ raw_data: "RUBY0008 OK Success\r\n"
597
+ - FLAGS: *30
598
+ OK: *31
599
+ PERMANENTFLAGS: *32
600
+ UIDVALIDITY: *33
601
+ EXISTS: *34
602
+ RECENT: *35
603
+ UIDNEXT: *36
604
+ HIGHESTMODSEQ: *37
605
+ FETCH:
606
+ - !ruby/struct:Net::IMAP::FetchData
607
+ seqno: 180
608
+ attr:
609
+ X-GM-LABELS:
610
+ - "\\Important"
611
+ - "\\Inbox"
612
+ - "\\Sent"
613
+ - "\\Trash"
614
+ UID: 188
615
+ EXPUNGE:
616
+ - 180
617
+ LOGOUT-e76a09b7766d60a37ff9e1af527a143e:
618
+ - - :return
619
+ - !ruby/struct:Net::IMAP::TaggedResponse
620
+ tag: RUBY0011
621
+ name: OK
622
+ data: !ruby/struct:Net::IMAP::ResponseText
623
+ code:
624
+ text: 73 good day (Success)
625
+ raw_data: "RUBY0011 OK 73 good day (Success)\r\n"
626
+ - FLAGS: *12
627
+ OK: *13
628
+ PERMANENTFLAGS: *14
629
+ UIDVALIDITY: *15
630
+ EXISTS: *16
631
+ RECENT: *17
632
+ UIDNEXT: *18
633
+ HIGHESTMODSEQ: *19
634
+ BYE:
635
+ - !ruby/struct:Net::IMAP::ResponseText
636
+ code:
637
+ text: LOGOUT Requested