Twilio SendGrid NodeJS internal helpers
npm install @sendgrid/helpers

This package is part of a monorepo, please see this README for details.
Note that not all objects represented in the SendGrid API have helper classes assigned to them because it is not expected that developers will use these classes themselves. They are primarily for internal use and developers are expected to use the publicly exposed API in the various endpoint services.
Mail object that converts itself to proper JSON for use with the SendGrid v3 API. This class supports a slightly different API to make sending emails easier in many cases by not having to deal with personalization arrays, instead offering a more straightforward interface for composing emails.Attachment objects.Personalization objects.Helper class to represent an email address with name/email. Used by both the Mail and Personalization classes to deal with email addresses of various formats.We encourage contribution to our libraries (you might even score some nifty swag), please see our CONTRIBUTING guide for details.
* Feature Request
* Bug Reports
* Improvements to the Codebase
@sendgrid/helpers are maintained and funded by Twilio SendGrid, Inc. The names and logos for @sendgrid/helpers are trademarks of Twilio SendGrid, Inc.
If you need help installing or using the library, please check the Twilio SendGrid Support Help Center.
If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!