How to integrate SendGrid API with UiPath Mail Package

A post was split to a new topic: Why integrating SendGrid API with UiPath Mail Package, Email value is not accepting type String?