[#48498922] set default email to variable and get RAILS_ENV to get the environment
retrieving commits from the url directly instead of using local file