I don't think here, is a good idea. Try mongoose's [lowercase](http://mongoosejs.com/docs/api.html#schema_string_SchemaString-lowercase) option in the schema. `trim` would be a nice option as well. Finally you need to make it backward compatible. Thanks.