Scenario 2

Added Scenario 2 and made a common function for configuration of
sendgrid Mail object