CMS-4590 Implement email availability check in the backend