updating mailers to use mime type