The following works:
$ git config --local user.email "icq: 1234"
$ git commit --allow-empty -m "test"
[master 6d21d58] test
$ git cat-file -p HEAD
tree 6ef19b41225c5369f1c104d45d8d85efa9b057b53b14b4b9b939dd74decc5321
parent 3ea7111c6fda5a46bf1ccfd9193d483facb29356d7d9c833c54ba95265c58c55
author John Doe <icq: 1234> 1614734711 +0100
committer John Doe <icq: 1234> 1614734711 +0100
test
My question is whether this is properly supported by git or whether this is undefined behaviour, and whether it's reasonable to assume that a commit generated with a user.email that is not a valid e-mail string is going to remain a valid git commit in future versions of git?