Yes you are right.
Before I test this nice function:
If I understand it corrct it send forevery pool a seperate message?
Atm I plan to let the script run once a day because users aren't added in masses to the pools.
Therefore I have some time to react before a pool reachs the limit and I don't want masses of mails in my inbox because of this