updated initializer with mailer url