Fix minor php notice
Add join to custom table only when there are custom fields
Allow use of generic smtp for sending campaign emails
Allow testing of email campaign to be sent twice to the testers