resolves #152 mail and notification sending are executed in different
thread.