2025-01-04 04:58:58 +00:00
|
|
|
import {withClient} from "./src/mail/client.ts";
|
|
|
|
import {collect, Collection} from "./src/bones/collection/Collection.ts";
|
|
|
|
import {getMailboxesToSearch, withMailbox} from "./src/mail/read.ts";
|
2024-12-31 02:36:12 +00:00
|
|
|
|
2025-01-04 04:58:58 +00:00
|
|
|
(await getMailboxesToSearch())
|
|
|
|
.map(box => withMailbox(box, async c => {
|
|
|
|
console.log(await c.all())
|
|
|
|
}))
|
|
|
|
.awaitAll()
|