You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: user.rb
    path of file: ./repos/identity-idp/app/models
    
    the code of the file until where you have to start completion: class User < ApplicationRecord
  include NonNullUuid

  include ::NewRelic::Agent::MethodTracer
  include ActionView::Helpers::DateHelper

  devise(
    :database_authenticatable,
    :recoverable,
    :regis
    
  def email_language_preference_description
    if I18n.locale_available?(email_language)
      # i18n-tasks-use t('account.email_language.name.en')
      # i18n-tasks-use t('account.email_language.name.es')
      # i18n-tasks-use t('account.email_language.name.fr')
      I18n.t("account.email_language.name.#{email_language}")
    else
      I18n.t('account.email_language.name.en')
    end