added email white list setting BANDIT_WHITELIST
fixing python error