Fixes no items error + features

Switched _get_configuration to use regex matching.
Added email functionality also.