Events

Emit an event and send an email inside an event listener.

We'll cover the following...

Node.js supports concurrency by using events and async function calls. Events are actions that trigger other actions. We can use Event.fire(name, [data]) to fire an event with optional data and Event.on(name, ...