add subscript to factories and dispatch mailer