I would like to know how i can setup proper motion detection alerts via E-mail. It now often happens that i receive 104 emails overnight.

This is a question suited for the Milestone Support Community.

https://force.milestonesys.com/support/MccSupportCommunity

When you post the question there include the version of XProtect you have.