# Sendgrid lib

This is a thin library to help us make consistent API requests to the Sendgrid
v3 API.

```js
const SendgridLib = require( '@quartz/sendgrid-lib' );

const lib = new SendgridLib( { apiKey: '...' } );

lib.getContactIdByEmail( 'annika@example.com' )
	.then( contactId => console.log( `Got contact ID: ${contactId}` ) );
```
