email: Fixed segfault introduced in commit 195b63f99c2fe3