var params = {
    "TableName": tableName,
    "IndexName": "email-index",
    "KeyConditions": {
      "email": {