Change email testing backend to celery

The current mail backend for testing is the django in-memory mail backend. This should be changed to use the celery mail backend, and the celery mail backend should be set to the django in-memory mail backend (for tests).