Create an async version of the client
Open
@AaronDDM is already working on this.
Since Jun 11, 2025.
enhancement
- Dominant language
- Python
- Stars
- 109
- Forks
- 85
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 1
Description
Description
We need to add asynchronous support to the Nylas client to improve performance in high-concurrency applications. The current synchronous implementation blocks the event loop during HTTP requests, which limits scalability in async applications.
Benefits
- Improved performance for concurrent operations
- Compatibility with async web frameworks (FastAPI, Starlette, etc.)
- Better resource utilization when processing multiple emails
- Reduced latency for user-facing applications that process email data
Implementation Suggestion
Extend the current HttpClient with an async version that uses aiohttp while maintaining the same interface.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.