handle preview generation of attachments, ensuring that we have a request, refs #247 #10893