Switched from using :id to :public_id in the emails_controller and specs