added action mailer stuff to create method