mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 01:08:54 +03:00
19 lines
392 B
Plaintext
19 lines
392 B
Plaintext
::
|
|
:::: /hoon/list/gmail/gen
|
|
::
|
|
/? 310
|
|
::
|
|
::::
|
|
!:
|
|
:- %say
|
|
|= $: {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)]
|