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: email_inbound.rb
    path of file: ./repos/zammad/app/models/form_updater/updater/guided_setup
    
    the code of the file until where you have to start completion: # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/

class FormUpdater::Updater::GuidedSetup::EmailInbound < FormUpdater::Updater
  def authorized?
    current_user.permissions?('admin.wizard')
  end

  def resolve
    if meta[:initial]
      result['a
    
  def email_inbound_adapters
    {
      initialValue: available_adapters[:inbound].find { |adapter| adapter[0].to_s.casecmp?('imap') }&.first.to_s,
      options:      available_adapters[:inbound].each_with_object([]) do |adapter, options|
                      options << {
                        value: adapter[0].to_s,
                        label: adapter[1],
                      }
                    end,
    }
  end
end