I don’t see a way to search messages in the Gmail node.
My thought using chat could type “I want to send an email to the muffler companies I’ve reached out to in the last year, please draft a reply note to all companies I’ve reached out to or who has contacted me about mufflers.”
My thought was to do a Get All Messages and have them store in a postgress or another database and then have the Agent search from there, its just making sure I set this up most efficient has been a slight challenge for me.
Hi @black-jmyntrn
Actually, the Gmail node does include a search functionality—you can find it under the Filter tab. When you use the Get Many messages operation, there’s a field labeled Search where you can input Gmail search queries (like from:
, subject:
, etc.) to filter your emails. This way, you don’t have to fetch all messages into a database and then search through them manually.
Hope that helps!
1 Like
You good person… BRILLIANT!! THANK YOU! hypothetically speaking though, which database would you pull them into or even pull in the messages that are found?