Extracted the app type into its own module.
Added an API call to get the details for a specific calendar from a calendar id.
Added types for filtering emails threads and messages.
Added a basic call to send emails and extended support for POST API calls.