Added documentation + added email option.