Adding case clause for successful email delivery.