* Import: fix potential crashes in the import process.
* Email invitations: improve signature.
