Extracting Lists and Libraries that have email enabled.

​To get your arms around the lists and libraries in your farm, run this for each web application.

Information below is based on this post:  https://social.technet.microsoft.com/forums/sharepoint/en-US/457387e3-05af-425c-9de4-5aa15d673a19/getting-a-list-of-all-email-enabled-document-libraries-witin-a-sharepoint-2007-web-app

 

Load this function into a SharePoint management Shell

 

function GetEmailEnabledLibraries ($WebApp)
{

$WebApplication = Get-SPWebApplication $WebApp
$WebApplication | Get-SPSite -limit all | Get-SPWeb  -limit all | ForEach-Object {
write-host "——-"
write-host "URL of Webs: " $_.Url
$lists = $_.lists
$lists | ForEach-Object {
if( ($_.CanReceiveEmail) -and ($_.EmailAlias) ){
write-host "Title of list: " $_.Title
write-host "Email of list: " $_.EmailAlias
}
}
}

}