def enable_alert(module, array):
    """Enable Alert Email"""
    changed = False
    if not module.check_mode:
        try:
            array.enable_alert_recipient(module.params['address'])
        except Exception:
            module.fail_json(msg='Failed to enable alert email: {0}'.format
                (module.params['address']))
    changed = True
    module.exit_json(changed=changed)
