Limit uses mail box space?

Is there a way, maybe a plugin, to limit how many message the users can have in their inbox?
We have uses that have thousand of messages that take up space.