Email validation and move bitpay api keys to config file and ENV