urbit/gen/gmail/list.hoon
Anton Dyudin 097f74f762 Revert "remove gmail and some other bs"
Pre-merge: gmail is modified/used by %womb to email tickets
This reverts commit 8239c777ab.
2016-04-26 16:42:15 -07:00

19 lines
392 B
Plaintext

::
:::: /hoon/list/gmail/gen
::
/? 310
::
::::
!:
:- %say
|= $: {now/@da eny/@uvI bec/beak}
arg/$@($~ {number/@u $~})
$~
==
?~ arg $(arg [5 ~])
:- %noun
%+ turn (scag number.arg .^((list {@t @t}) %gx /=gmail=/read/messages))
|= {message-id/@t thread-id/@t}
=+ .^({from/@t subject/@t} %gx /=gmail=/read/messages/[message-id])
[from=from (trip subject)]