diff --git a/recipes/gmail.tsx b/recipes/gmail.tsx index d3149d29e..ac335042d 100644 --- a/recipes/gmail.tsx +++ b/recipes/gmail.tsx @@ -811,7 +811,14 @@ const updateGmailFilterQuery = handler< }, ); -export default recipe<{ settings: Settings; auth: Auth }>( +export default recipe<{ + settings: Default; + auth: Auth; +}>( "gmail", ({ settings, auth }) => { const emails = cell>([]); @@ -825,11 +832,18 @@ export default recipe<{ settings: Settings; auth: Auth }>( derive(auth, (auth) => auth?.user?.email || "unauthorized") }`, [UI]: ( -
-

+
+

{auth?.user?.email}

-

+

Imported email count: {derive(emails, (emails) => emails.length)}

@@ -882,31 +896,37 @@ export default recipe<{ settings: Settings; auth: Auth }>( - - - - + + + + {emails.map((email) => ( - - - -
DATESUBJECTLABELCONTENTDATESUBJECTLABELCONTENT
+  {email.date}  +  {email.subject}  +  {derive( email, (email) => email?.labelIds?.join(", "), )}  +
Show Markdown -
+                        
                           {email.markdownContent}