refactoring upload, email manager refonte, queryBuilder improvement (paranthèse et gettype)