This works. In functions.php, add this function:
add_filter('wp_mail', 'disable_email_filter');
function disable_email_filter($result = '') {
$to = '';
$subject = '';
$message = '';
$headers = '';
$attachments = array ();
return compact('to', 'subject', 'message', 'headers', 'attachments');
}