added variables to stock emails, fixed notice.