export const extractDomain = (email: string) => { return email && email.substring(email.lastIndexOf('@') + 1) }