Why PDF is not attached when testing email using the "Test Email" button?