These print/email functions are really similar to the ones in workspace. I'm not sure how to make this a little cleaner.