Is it possible to get recent 10 emails using Gmail-api?
Is it possible to get recent 10 emails using Gmail-api? Question: For now, I can use gmail api to get all UNREAD emails or all emails in INBOX. GMAIL.users().messages().list(userId=’me’, labelIds=[‘UNREAD’, ‘INBOX’]).execute() Because getting all the emails could be annoying, I was wondering is it possible to get only the recent 10 UNREAD emails from gmail …