Adds emails support with mongodb