Email extraction is now based on passed mime type