updateSelfEmail

abstract suspend fun updateSelfEmail(email: String): Either<NetworkFailure, Boolean>

Updates the self user's email address.

Return

Either.Right with Boolean true if the verify email was sent and false if there are no change, otherwise Either.Left with NetworkFailure

Parameters

email

the new email address