email subject should distinguish between errors and warnings