Fix undefined email lower case error, fixes #36.