Create user by mail

Hi folks,
I’m searching for a way to create deactivated user by sending a mail to
the rt-mailgate
can you give me some clue to do something like this ?
thanks

Cordialement / Greetings