Attached is the assignment. Right or wrong?

Is this sentence grammatically right?

Usually I write to my teachers:

Hello _,
attached is the assignment.

Regards (or Sincerely),
X