MySql Migration

###REVIEWERS
@flopezag

###DESCRIPTION
- Mysql Migration
- Checkstyle fixes
- Mail modification
magic numbers.