fix for ticket #343
  - mail sending now configurable
  - should fix issues with sending of supportmail