Skip to content

Get the body of the gmail #15

Answered by julien040
headwinds asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @headwinds, I've updated the imap plugin. You can now query emails body using the imap_emails_body table.
To install the update, run:

anyquery registry refresh
anyquery plugin update imap

Example of a query:

-- List all emails containing a specific word in the body
SELECT * FROM imap_emails_body WHERE body LIKE '%meeting with John%';

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@headwinds
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by headwinds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants