add mailer specs to posts controller