Emails send if project's team is null

Only for the tests to work. This doesn't affect normal use.