# What to use the Get emails from gmail step for
Use the step to search Google Mail for messages containing the specified keywords and retrieve the contents. It could be used with the ChatGPT, step to generate responses to emails. We also have a Gmail step thats fetchs attachments.
You can use this step to:
- Scrape data from Gmail
- To Create and send email responses with ChatGPT step
# How to configure the Get emails from gmail step
Enter a list of keywords to search on, each separated by a comma.
# Email address
Enter the email address of the Gmail account to be searched, leave blank to use the default Gmail address. You must be logged into a Gmail account in order to search it, if you are not logged into the specified account then the default Gmail account will be searched instead.
# Max results
Set a maximum number of emails to retrieve.
A preview of the Gmail data gathered.