Added dao functions necesarry for SendGrid hoks and sendgrid hook classes.