Added file attachments and CC/BCC to emails.