Assigning an activity to an office worker generates an email, fixes #7929
Merge branch 'dev' into test