If you are receiving a "TypeError: Path is not a constructor" error while testing Sendgrid, change the require import in your surveyRoutes.js to:

const { Path } = require('path-parser');