From a387920e462e51e295755eecc50cd9cba99401d8 Mon Sep 17 00:00:00 2001 From: Jordan Santell Date: Wed, 22 Oct 2025 11:09:08 -0700 Subject: [PATCH] chore: Update gmail recipe to latest and greatest --- recipes/gmail.tsx | 46 +++++++++++++++++++++++++++++++++------------- 1 file changed, 33 insertions(+), 13 deletions(-) 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}