added mime_type to attachment