Resolve query and work on mailing