question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to fetch only certain components instead of entire message?

See original GitHub issue

Fetching messages is great, but sometimes I only want certain parameters, and it seems like a waste to download the entire message if I only want a few parameters. It’s also much faster to only download say, the subject, instead of the entire message if I’m only interested in the subject.

Does imap_tools support only fetching certain parameters for speed purposes?

I ideally would want the equivalent of:

a = mailbox.box.uid('fetch', "$UIDS", "BODY.PEEK[HEADER.FIELDS (SUBJECT)]")

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
naclandercommented, Jun 21, 2020

You’re right. The speed is the same and I was confused from a different call. I’m going to go ahead and close this issue. Thanks for the help.

0reactions
ikvkcommented, Jun 21, 2020

And thank you, together we can do more )

Read more comments on GitHub >

github_iconTop Results From Across the Web

Things You Should Know When Fetching Data for React ...
1. The Fetch-API. The Fetch API is a simplified promise-based interface for fetching data. Also, Fetch API is easier to use in ...
Read more >
How to fetch data in React with performance in mind
React lifecycle and data fetching​​ Only after Parent's isLoading state changes to false , will the rendering and all other effects be triggered ......
Read more >
How to Use the Fetch API (Correctly) - CODE Magazine
Navigate into the folder Samples-WebAPI and load that folder in Visual Studio Code or Visual Studio 2019. Open the appsettings.json file and ...
Read more >
A comprehensive guide to data fetching in React
There is a variety of ways to fetch data in React, including using the inbuilt Fetch API, Axios, and more. We'll go over...
Read more >
How to Fetch Data in React: Cheat Sheet + Examples
There are many ways to fetch data from an external API in React. ... We will not only cover how to fetch data,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found