Home / Companies / Nylas / Blog / May 2019

May 2019 Summaries

4 posts from Nylas

Filter
Month: Year:
Post Summaries Back to Blog
Microsoft's Exchange APIs have evolved over the years, introducing complexities in maintenance and integration. The blog discusses three key protocols for integrating with Exchange: Exchange ActiveSync (EAS), Exchange Web Services (EWS), and Microsoft Graph. EAS was created for mobile synchronization with a lightweight procedure but lacks a public SDK, making it challenging to integrate. EWS provides a more traditional XML SOAP service and simplifies authentication but lacks some mobile device policy enforcement. Microsoft Graph aims to unify Office APIs with a focus on data types rather than products, marking a shift from EWS, though not all features have transitioned, and it doesn't support on-premises Exchange deployments. The blog suggests using the Nylas Email API as an alternative to simplify integration across various email providers, offering full CRUD and bi-directional sync capabilities with broad support for different SDK languages.
May 31, 2019 976 words in the original blog post.
Autoscalers, a crucial component in cloud architecture, are designed to maintain system resilience by dynamically adjusting the number of servers based on demand, particularly in environments like Amazon Web Services (AWS). They address inevitabilities such as system failures by ensuring that a predefined number of servers are always operational, replacing any that fail health checks. Implementing autoscalers involves challenges, particularly in handling server terminations and initiations without disrupting services, and effective configuration management is essential for seamless operation. Nylas, for example, has developed a sophisticated database setup using MySQL and ProxySQL to manage load changes and maintain a unified view of database topology, allowing servers to boot or shut down without compromising data integrity. While not all systems are suited for autoscaling, particularly those handling sensitive data, the use of autoscalers where possible can reduce the need for manual server management and allow technical teams to focus on core operations, promoting a more efficient and robust infrastructure.
May 30, 2019 1,613 words in the original blog post.
Building an IMAP integration can initially appear straightforward, but it involves numerous complexities that developers must navigate to create a reliable system. The IMAP protocol, developed in the late 1980s, revolutionized email management by allowing multiple transient clients to interact with a centralized server without downloading entire messages, which contrasts with the POP protocol. Despite its capabilities, IMAP's UID system is volatile and can lead to challenges in tracking messages across sessions and folders. Developers must also understand the nuances of message deletion and notifications to effectively manage message states and updates. Integrating IMAP requires handling its extensive set of commands, potential extensions like IDLE and NOTIFY for notifications, and the limitations in standardization around features like Trash folders. The Nylas API offers an alternative by simplifying the integration process and providing robust security and support across various email service providers, reducing the time and maintenance needed for direct IMAP integration.
May 30, 2019 1,373 words in the original blog post.
Modern calendar applications efficiently manage repeating events like meetings and reminders, but the underlying complexity stems from legacy standards and the need for backwards compatibility. At the core of repeating events are recurrence rules (RRULEs) defined by the RFC 2445 specification, which outline patterns for event repetition without encoding start times. Developers can handle these events by either expanding occurrences from a single event or using APIs for standalone event treatment, with tools like Python's `dateutil` making this task easier. Time zone changes, such as daylight saving transitions, add further complexity, necessitating normalization practices to maintain consistent local times. Handling exceptions or modifications to recurring events, such as cancellations or rescheduling, requires careful tracking of EXDATE fields or using metadata to link altered instances back to their parent events. Platforms like Google Calendar and Nylas provide mechanisms to manage these complexities, with Nylas offering a streamlined approach to automatically expand recurring events and handle exceptions, while Microsoft Exchange uses a distinct format for recurrences. Nylas aims to simplify these processes through its universal API, allowing developers to focus on feature building rather than protocol intricacies.
May 12, 2019 2,099 words in the original blog post.