only sends mail if params are there