added pdf handling with outlook attachments.