Email and PDF implemented