Get the ecco document uri correct.
Add options to make sendgrid work