Fourier coefficients of a periodic distribution?
Both the exponentials and any periodic distribution descend to quotients (circles) $\mathbb R/(\tau\cdot \mathbb Z)$, and there $T$ can be legitimately evaluated on the exponentials.
Just a quick complement to what Paul said, in order to explain more concretely what "descends" means. Take $\tau=1$ for simplicity. Let $\rho$ be a function in $\mathscr{D}(\mathbb{R})$ ($\mathscr{S}(\mathbb{R}$) would work too) which gives a partition of unity of the form $$ \sum_{n\in\mathbb{Z}}\rho(t+n)=1 $$ for all $t\in\mathbb{R}$. then $c_n$ can be extracted as $$ c_n=\langle T,\rho(t)e^{-2i\pi n t}\rangle\ . $$ Indeed if $n\in\mathbb{Z}$, $$ \int_{\mathbb{R}}\rho(t)e^{2i\pi nt}\ dt =\sum_{m\in\mathbb{Z}}\int_{m}^{m+1} \rho(t)e^{2i\pi nt}\ dt $$ $$ =\sum_{m\in\mathbb{Z}}\int_{0}^{1} \rho(t+m)e^{2i\pi n(t+m)}\ dt $$ $$ =\int_{0}^{1}\left(\sum_{m\in\mathbb{Z}}\rho(t+m)\right)e^{2i\pi nt}\ dt $$ $$ =\int_{0}^{1}e^{2i\pi nt}\ dt\ = \delta_{n,0}\ . $$