Studying stellar ejecta with ALMA