devise custom controller, custom mailer & opts[:options]

in my app i need to set & send different emails. the app operates
under 3 domains, and so i want to the able to set the opt[] hash
accordingly with template and url options ...

--> from within the mailer i cannot access 'request' object, hence i
need to saty within my cusotm devise controller. but how can i pass
these variable to my mailer?

controller: class Users::PasswordsController < Devise::PasswordsController
before_filter :do_before
include ApplicationHelper

def do_before
p "PasswordsController :: do_before"
  if == ''
    @x = 'bar'

    def create
          p "PasswordsController :: create"
          # how to get @x over to mailer???