Mbracha, on wikipedia it does mention 'amine' in the alternative name "N-acetyl-5-methoxytryptamine" however that is going off a 'shorthand' naming not
IUPAC based. In other words what it's saying is the parent is
tryptamine and not indole. The reason for this is it's a lot easier than writing out the IUPAC name, N-[2-(5-methoxy-1H-indol-3-yl)ethyl]ethanamide as Enahs mentioned, every time in your paper.
In this case it was named
through an amine, tryptamine, however the actual molecule itself is not an amine, rather amide. You could try convincing your instructor otherwise but you might be hard-pressed if you are not fully grasping the difference and why melatonin is not an amine.