Fixes bug 958595 - Removed the emails table from postgresql.
Merge pull request #1869 from AdrianGaudebert/958595-remove-emails-table-postgres

Fixes bug 958595 - Removed the emails table from postgresql.