make celery emails config a dict
Merge pull request #537 from pdvyas/hotfix

make celery emails config a dict