set up sendgrid for email management
fix issues with email links and setup sendgrid