A low intake of vitamin B12 might also raise risk for depression through its effects on homocysteine levels, although there is a lot of debate about this (see here). Vitamin B6 is important for mental health, too, since it is needed for the neurotransmitter serotonin.