Added possibility for deleting one or all objects from database
Bugfix. The used variable is declared outside the generated text.
Upgraded email handling.