Moved requests import inside functions where it is used to avoid problems installing the sendhub library when requests is not already available.
Declare 'requests' dependency in requirements.txt.