https://linen.dev logo
Fetching Email does not return all the emails
# 🖥│support-forum
j
GMAIL_FETCH_EMAILS tool when filtering data such as after:2025/11/26 will only return the last fetched email for some reason, log id is log_TH-8hmv_Hp71
u
Hey @jareer123., we are checking this
j
fetch my emails for today this was the query and it returned just the last email when filter was applied
u
I see, looks like
max_results
parameter's default value(1) was being passed in your case. Ideally agent should automatically use a bigger number for
max_results
. https://cdn.discordapp.com/attachments/1443600542596075743/1443624765909762159/Screenshot_2025-11-27_at_20.58.24.png?ex=6929bfd5&is=69286e55&hm=941ab5eb8a9cfc9bc26d2cc0e1bcc5d329fb91cde2babae3687d09c9eb0f738b&
j
yup it is working, thank you
2 Views