Can you maybe change the subject to something like: `New push to repo - #{@commits.size} new commits`

That way there is always a consistent part in the subject where you can put e-mail rules on. What do you think?