Fixed the issue with inherited mail method not behaving as expected, it didn't append sendgrid headers