change q_mailer to be index, not pointer