Converted tabs to spaces for psr-2 compatibility
Made migration safe
Use boolval filter
Basic support for emailmappings