dcramer/sentry — pull request #500 by tehranian (2012-05-25 05:03:11+00:00)
Title: Change Description & Testing Done

**Motivation:**

At VMware, the Infrastructure Engineering team uses Sentry to log alerts from numerous services. We have a mail filtering system based on procmail which routes alert emails from these services to their respective functional owner.

Custom email headers (ex: "X-SENTRY-*") will allow this sort of system to reliably filter based on project, severity, etc. End-users will also be able to take advantage of these headers in their client-side email filters (ex: move messages into folders).

**Testing Done:**

Used a simple python-raven script to log an event which caused an email to be sent to me:

```
Content-Type: multipart/alternative;
boundary="===============7845153231653466139=="
MIME-Version: 1.0
Subject: [Sentry] [dan's project] ERROR: ZeroDivisionError: integer division or
modulo by zero
From: REDACTED@gmail.com
To: REDACTED@gmail.com
Date: Fri, 25 May 2012 04:23:51 -0000
Message-ID: <20120525042351.13214.40845@tehranian-mint-vm>
X-SENTRY-LOGGER-LEVEL: error
X-SENTRY-LOGGER: root
X-SENTRY-SERVER: tehranian-mint-vm
X-SENTRY-PROJECT: dan's project

--===============7845153231653466139==
```

Thank you for the amazing product, dcramer & team!
Dan