use smtp_settings only if they are present to avoid problems with deployment rake-tasks