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: address_finder.rb
    path of file: ./repos/openfoodnetwork/lib/open_food_network
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# Finds an address based on the data provided
#
    
    def last_used_bill_address
      return nil unless allow_search_by_email?

      Spree::Order.joins(:bill_address).order('id DESC')
        .complete.where(email:)
        .first&.bill_address
    end