Personalization

@Berdir asked specifically to review this branch, please leave the merging to him.
I think this existed to ensure that there can be no conflicts with existing emails in the system. The random string length is pretty short. It was possibly ported incorrectly, but I'd prefer to keep this for now.