updating version
Catching the HTTP call exceptions and reducing the mail attachment size
to keep it under 25 MB