improved emailing functions for event creation, error correction