an direct object is the thing being acted upon by the verb.
the object of a preposition is a noun, noun phrase, or pronoun that follows a preposition and completes its meaning. The object of a preposition is in the objective case. A word group made up of a preposition, its object, and any of the object's modifiers is called a prepositional phrase.
Answer:
It is important to learn how to write formal and informal emails since emails are an important way to communicate in business and organizations.
If you ask me, I use email for work related matters, some of the emails are highly important and others are informal.
Explanation: