Make Attach PDF option available when using SMTP or custom email address