Bug correction when registering new mailboxes