urbit/gen/gmail/list.hoon

19 lines
392 B
Plaintext
Raw Normal View History

::
:::: /hoon/list/gmail/gen
::
/? 310
::
::::
!:
:- %say
2016-08-12 22:25:10 +03:00
|= $: {now/@da eny/@uvJ 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)]