added check for bulk email cron
updated common functions and variables