API returns 400 if request for agency with no email

This is the corresponding API change to: https://github.com/18F/foia-hub/pull/276
We return a 400 (BadRequest) error if the agency or office doesn't have any emails.