Refactor LogStash::Outputs::Email.register method

Rather than verbosely checking whether values exist, it's simpler to provide default values to the `fetch` method. This simplifies a lot of the method and means it's easier to read and reason about.