I'll show you the basic usage of IF function in Google Drive Spreadsheet. The IF function returns one value if a specified condition evaluates to TRUE, or another value if it evaluates to FALSE.
Not only that you can share files — like documents, images, and PDFs — without having to email them as attachments. You can share the whole folder containing the documents.