Helper script to process daily emails